Skip to content

Commit

Permalink
adding upgrade handler for v1.1.1-rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Apr 18, 2024
1 parent faca1de commit bc58121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1023,14 +1023,14 @@ func New(
},
)

if upgradeInfo.Name == "v1.1.1-rc0" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
if upgradeInfo.Name == "v1.1.1-rc1" && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
app.SetStoreLoader(upgradetypes.UpgradeStoreLoader(upgradeInfo.Height, &storetypes.StoreUpgrades{
Added: []string{cscalisttypes.ModuleName},
}))
}

app.UpgradeKeeper.SetUpgradeHandler(
"v1.1.1-rc0",
"v1.1.1-rc1",
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
},
Expand Down

0 comments on commit bc58121

Please sign in to comment.