Skip to content

Commit

Permalink
migrations (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardMikhrin authored Dec 16, 2024
1 parent 8e9f37c commit 1fe939d
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 @@ -961,6 +961,13 @@ func NewBridge(
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})

app.UpgradeKeeper.SetUpgradeHandler(
"v12.1.15-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 1fe939d

Please sign in to comment.