diff --git a/x/feemarket/ante/fee.go b/x/feemarket/ante/fee.go index 7bbbf82..2179281 100644 --- a/x/feemarket/ante/fee.go +++ b/x/feemarket/ante/fee.go @@ -114,6 +114,8 @@ func (dfd feeMarketCheckDecorator) anteHandle(ctx sdk.Context, tx sdk.Tx, simula payCoin := sdk.NewCoin(params.FeeDenom, sdkmath.ZeroInt()) if !simulate { payCoin = feeCoins[0] + } else if len(feeCoins) == 1 { // case where a denom was specified for this simulation + payCoin.Denom = feeCoins[0].Denom } feeGas := int64(feeTx.GetGas()) diff --git a/x/feemarket/post/fee.go b/x/feemarket/post/fee.go index fd652dd..b99950c 100644 --- a/x/feemarket/post/fee.go +++ b/x/feemarket/post/fee.go @@ -96,6 +96,9 @@ func (dfd FeeMarketDeductDecorator) PostHandle(ctx sdk.Context, tx sdk.Tx, simul ) if !simulate { payCoin = feeCoins[0] + } else if len(feeCoins) == 1 { // case where a denom was specified for this simulation + payCoin.Denom = feeCoins[0].Denom + tip.Denom = feeCoins[0].Denom } feeGas := int64(feeTx.GetGas())