diff --git a/app/app.go b/app/app.go index 73fd5fc518..5228d58ad3 100644 --- a/app/app.go +++ b/app/app.go @@ -307,7 +307,7 @@ func NewWasmApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest b app.getSubspace(crisistypes.ModuleName), invCheckPeriod, app.bankKeeper, authtypes.FeeCollectorName, ) app.upgradeKeeper = upgradekeeper.NewKeeper(skipUpgradeHeights, keys[upgradetypes.StoreKey], appCodec, homePath) - + app.registerUpgradePlans() // register the staking hooks // NOTE: stakingKeeper above is passed by reference, so that it will contain these hooks app.stakingKeeper = *stakingKeeper.SetHooks( @@ -647,3 +647,9 @@ func initParamsKeeper(appCodec codec.BinaryMarshaler, legacyAmino *codec.LegacyA return paramsKeeper } + +func (app *WasmApp) registerUpgradePlans() { + app.upgradeKeeper.SetUpgradeHandler("musselnet-v2", func(ctx sdk.Context, plan upgradetypes.Plan) { + // do nothing + }) +} \ No newline at end of file