diff --git a/app/upgrades/v10/upgrades.go b/app/upgrades/v10/upgrades.go index 98539c0e..6fea534d 100644 --- a/app/upgrades/v10/upgrades.go +++ b/app/upgrades/v10/upgrades.go @@ -16,8 +16,11 @@ func CreateV10UpgradeHandler( keepers *keepers.AppKeepers, ) upgradetypes.UpgradeHandler { return func(ctx sdk.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) { - // set default oracle split keepers.TreasuryKeeper.SetTaxRate(ctx, sdk.ZeroDec()) + params := keepers.TreasuryKeeper.GetParams(ctx) + params.TaxPolicy.RateMax = sdk.ZeroDec() + params.TaxPolicy.RateMin = sdk.ZeroDec() + keepers.TreasuryKeeper.SetParams(ctx, params) tax2gasParams := taxtypes.DefaultParams() keepers.TaxKeeper.SetParams(ctx, tax2gasParams)