From ec503723b0b14401ef8953b780d059a9673b4952 Mon Sep 17 00:00:00 2001 From: Dheeraj Dubey Date: Tue, 9 Jul 2024 18:45:23 +0530 Subject: [PATCH] remove run migrations --- app/upgrades/testnet/v15/upgrades.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/upgrades/testnet/v15/upgrades.go b/app/upgrades/testnet/v15/upgrades.go index a33c2da22..64d1096d2 100644 --- a/app/upgrades/testnet/v15/upgrades.go +++ b/app/upgrades/testnet/v15/upgrades.go @@ -40,10 +40,6 @@ func CreateUpgradeHandler( if err != nil { return fromVM, fmt.Errorf("failed to unmarshal genesis state: %w", err) } - newVM, err := mm.RunMigrations(ctx, configurator, fromVM) - if err != nil { - return newVM, err - } var consumerGenesis = consumertypes.GenesisState{} cdc.MustUnmarshalJSON(appState[consumertypes.ModuleName], &consumerGenesis) @@ -57,6 +53,6 @@ func CreateUpgradeHandler( consumerKeeper.InitGenesis(ctx, &consumerGenesis) consumerKeeper.SetDistributionTransmissionChannel(ctx, "channel-2") // replace with correct channel - return newVM, nil + return fromVM, nil } }