Skip to content

Commit

Permalink
adding upgrade handler for v1.1.3-rc0
Browse files Browse the repository at this point in the history
  • Loading branch information
olegfomenko committed Jun 25, 2024
1 parent 6dde640 commit dbaa484
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 @@ -1061,6 +1061,13 @@ func New(
},
)

app.UpgradeKeeper.SetUpgradeHandler(
"v1.1.3-rc0",
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 dbaa484

Please sign in to comment.