From c9d55c5dc6c0a1691b0ca8c00ec2baadf655b29b Mon Sep 17 00:00:00 2001 From: pr0n00gler Date: Fri, 21 Jun 2024 13:38:14 +0300 Subject: [PATCH] fix comment --- x/dex/migrations/v4/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/dex/migrations/v4/store.go b/x/dex/migrations/v4/store.go index 89766ff25..61dd9a922 100644 --- a/x/dex/migrations/v4/store.go +++ b/x/dex/migrations/v4/store.go @@ -11,7 +11,7 @@ import ( ) // MigrateStore performs in-place store migrations. -// The migration adds new dex params -- GoodTilPurgeAllowance & MaxJITsPerBlock// for handling JIT orders. +// Due to change in precision of PrecDec between v3 and v4 we need to recompute all PrecDecs in the kvstore func MigrateStore(ctx sdk.Context, cdc codec.BinaryCodec, storeKey storetypes.StoreKey) error { if err := migrateTickLiquidityPrices(ctx, cdc, storeKey); err != nil { return err