Skip to content

Commit

Permalink
Update BCNA module:
Browse files Browse the repository at this point in the history
- New CLI/RPC query
  • Loading branch information
RaulBernal committed May 2, 2023
1 parent 8ef4b31 commit 8365dad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ func (app App) RegisterUpgradeHandlers() {
panic(err)
}

app.wakeandbake_test1(upgradeInfo)
app.wakeandbake_test2(upgradeInfo)
app.wakeandbake46(upgradeInfo)
}

func (app *App) wakeandbake_test1(_ upgradetypes.Plan) {
planName := "wakeandbake_test1"
func (app *App) wakeandbake_test2(_ upgradetypes.Plan) {
planName := "wakeandbake_test2"
app.UpgradeKeeper.SetUpgradeHandler(planName, func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
ctx.Logger().Info("BCNA module upgrade...")
ctx.Logger().Info("BCNA module upgrade... searching new consensus")
// no-op - only for consensus.
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
})
Expand Down

0 comments on commit 8365dad

Please sign in to comment.