Skip to content

Commit

Permalink
- proto fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
StrathCole committed Oct 14, 2024
1 parent 6a0e730 commit 80a0d2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion custom/auth/client/utils/feeutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func queryTaxRate(clientCtx client.Context) (sdk.Dec, error) {
if err != nil {
return sdk.ZeroDec(), err
}
return res.BurnTaxRate, err
return res.TaxRate, err
}

func queryTaxCap(clientCtx client.Context, denom string) (math.Int, error) {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/configurer/chain/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (n *NodeConfig) QueryBurnTaxRate() (sdk.Dec, error) {
if err := util.Cdc.UnmarshalJSON(bz, &taxRateResp); err != nil {
return sdk.ZeroDec(), err
}
return taxRateResp.BurnTaxRate, nil
return taxRateResp.TaxRate, nil
}

func (n *NodeConfig) QueryBurnTaxExemptionList() ([]string, error) {
Expand Down
2 changes: 1 addition & 1 deletion x/tax/keeper/querier.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ func (k Keeper) Params(c context.Context, _ *types.QueryParamsRequest) (*types.Q
// BurnTaxRate queries burn tax rate of tax module
func (k Keeper) BurnTaxRate(c context.Context, _ *types.QueryBurnTaxRateRequest) (*types.QueryBurnTaxRateResponse, error) {
ctx := sdk.UnwrapSDKContext(c)
return &types.QueryBurnTaxRateResponse{BurnTaxRate: k.GetBurnTaxRate(ctx)}, nil
return &types.QueryBurnTaxRateResponse{TaxRate: k.GetBurnTaxRate(ctx)}, nil
}

0 comments on commit 80a0d2d

Please sign in to comment.