Skip to content

Commit

Permalink
- handler
Browse files Browse the repository at this point in the history
  • Loading branch information
StrathCole committed Dec 3, 2024
1 parent bd3c50f commit 8048384
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/upgrades/v10/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8048384

Please sign in to comment.