Skip to content

Commit

Permalink
Merge pull request #31 from rarimo/feature/rootupdater-logs
Browse files Browse the repository at this point in the history
Feature/rootupdater logs
  • Loading branch information
MarkCherepovskyi authored Aug 30, 2024
2 parents 6bf9d16 + 954d3c0 commit 2c84216
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 @@ -1133,6 +1133,13 @@ func New(
},
)

app.UpgradeKeeper.SetUpgradeHandler(
"v1.1.4-rc3",
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 2c84216

Please sign in to comment.