the line err = types.ErrInvalidCkptStatus.Wrapf("the status of the checkpoint should be %s", from.String()) was just allocating error and not doing anything with it
error from ckptWithMeta, err := k.GetRawCheckpoint(ctx, epoch) was just getting swallowed
Fix error handling in checkpointing module:
err = types.ErrInvalidCkptStatus.Wrapf("the status of the checkpoint should be %s", from.String())
was just allocating error and not doing anything with itckptWithMeta, err := k.GetRawCheckpoint(ctx, epoch)
was just getting swallowed