diff --git a/app/upgrades.go b/app/upgrades.go index 3ded2a960a..398b317482 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -33,6 +33,18 @@ func (app UmeeApp) RegisterUpgradeHandlers(bool) { app.registerUpgrade3_2to3_3(upgradeInfo) app.registerUpgrade3_3to4_0(upgradeInfo) app.registerUpgrade4_0to4_0rc3(upgradeInfo) + app.registerUpgrade4_0rc3to4_0rc4(upgradeInfo) +} + +// performs upgrade from v4.0-rc3 -> v4.0-rc4 +func (app UmeeApp) registerUpgrade4_0rc3to4_0rc4(_ upgradetypes.Plan) { + const planName = "v4.0-rc4" + app.UpgradeKeeper.SetUpgradeHandler( + planName, + func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { + ctx.Logger().Info("Upgrade handler execution", "name", planName) + return fromVM, nil + }) } // performs upgrade from v4.0-rc2 (or rc1) -> v4.0-rc3