Skip to content

Commit

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

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

Please sign in to comment.