From 4419bfd1ed8c02699cdb4a54f2d9f843017d5838 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Tue, 16 Apr 2024 13:56:57 +0800 Subject: [PATCH] fix: add MsgSetBucketFlowRateLimit in Erdos upgrade --- app/upgrade.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/upgrade.go b/app/upgrade.go index 4a78de172..5ebb20570 100644 --- a/app/upgrade.go +++ b/app/upgrade.go @@ -246,6 +246,7 @@ func (app *App) registerErdosUpgradeHandler() { app.UpgradeKeeper.SetUpgradeHandler(upgradetypes.Erdos, func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { app.Logger().Info("upgrade to ", plan.Name) + app.GashubKeeper.SetMsgGasParams(ctx, *gashubtypes.NewMsgGasParamsWithFixedGas(sdk.MsgTypeURL(&storagemoduletypes.MsgSetBucketFlowRateLimit{}), 1.2e3)) return app.mm.RunMigrations(ctx, app.configurator, fromVM) })