Skip to content

Commit

Permalink
fix: add MsgSetBucketFlowRateLimit in Erdos upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu committed Apr 16, 2024
1 parent d265648 commit 4419bfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})

Expand Down

0 comments on commit 4419bfd

Please sign in to comment.