From 8365dad64b8064c32f4aed1aa16c5d2278ece685 Mon Sep 17 00:00:00 2001 From: RaulBernal Date: Tue, 2 May 2023 11:45:58 +0200 Subject: [PATCH] Update BCNA module: - New CLI/RPC query --- app/upgrades.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/upgrades.go b/app/upgrades.go index 1f30332f..2833ab53 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -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) })