From 4d74657c61e4d031ce5cab25c5f35f7c3f7081ce Mon Sep 17 00:00:00 2001 From: mmsqe Date: Thu, 7 Sep 2023 09:11:35 +0800 Subject: [PATCH] Problem: redundant refresh cp is included in upgrade (#332) this change should have been included in 52b23109e7a8d6b88e0887e3634a0ba637eb32b3 --- app/upgrades.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/upgrades.go b/app/upgrades.go index a9868c7cf5..556bb23461 100644 --- a/app/upgrades.go +++ b/app/upgrades.go @@ -91,8 +91,6 @@ func (app *EthermintApp) RegisterUpgradeHandlers(cdc codec.BinaryCodec, clientKe clientKeeper.SetParams(ctx, params) // Migrate Tendermint consensus parameters from x/params module to a dedicated x/consensus module. baseapp.MigrateParams(ctx, baseAppLegacySS, &app.ConsensusParamsKeeper) - c := app.GetConsensusParams(ctx) - ctx = ctx.WithConsensusParams(c) return app.mm.RunMigrations(ctx, app.configurator, fromVM) }) upgradeInfo, err := app.UpgradeKeeper.ReadUpgradeInfoFromDisk()