Skip to content

Commit

Permalink
adding handler for v1.1.0-rc1 update
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Dec 6, 2023
1 parent 7e66679 commit bed14e8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -990,6 +990,13 @@ func New(
},
)

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

if loadLatest {
if err := app.LoadLatestVersion(); err != nil {
tmos.Exit(err.Error())
Expand Down

0 comments on commit bed14e8

Please sign in to comment.