Skip to content

Commit

Permalink
remove run migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
dheerajkd30 committed Jul 9, 2024
1 parent 81521ba commit ec50372
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/upgrades/testnet/v15/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
}
}

0 comments on commit ec50372

Please sign in to comment.