chore: remove println from upgrade keeper (#17591)

This commit is contained in:
Marko 2023-08-31 17:41:32 +02:00 committed by GitHub
parent 0868daa059
commit 9b1e296765
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -402,7 +402,8 @@ func (k Keeper) GetUpgradePlan(ctx context.Context) (plan types.Plan, err error)
func (k Keeper) setDone(ctx context.Context, name string) error {
store := k.storeService.OpenKVStore(ctx)
sdkCtx := sdk.UnwrapSDKContext(ctx)
fmt.Println("setting done", "height", sdkCtx.HeaderInfo().Height, "name", name)
k.Logger(ctx).Debug("setting done", "height", sdkCtx.HeaderInfo().Height, "name", name)
return store.Set(encodeDoneKey(name, sdkCtx.HeaderInfo().Height), []byte{1})
}