Skip to content

Commit

Permalink
Merge pull request #7 from cryptonetD/feature/oneMoreUpgradeTest
Browse files Browse the repository at this point in the history
upgrade to v1.3.3
  • Loading branch information
cryptonetD authored Feb 18, 2023
2 parents cbf6ad1 + c829689 commit 00b012e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/upgrade_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ func (app *App) registerUpgradeHandlers() {
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})

app.UpgradeKeeper.SetUpgradeHandler("v1.3.3", func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
app.Logger().Info("v1.3.3 upgrade applied.")
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})

// prepared version for authz
//app.UpgradeKeeper.SetUpgradeHandler("v1.4.0", app.upgradeHandler)

Expand Down

0 comments on commit 00b012e

Please sign in to comment.