diff --git a/x/txfees/keeper/feedecorator.go b/x/txfees/keeper/feedecorator.go index 44902e3643e..fc8181708e1 100644 --- a/x/txfees/keeper/feedecorator.go +++ b/x/txfees/keeper/feedecorator.go @@ -161,6 +161,7 @@ func (mfd MempoolFeeDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate b } func (mfd MempoolFeeDecorator) getMinBaseGasPrice(ctx sdk.Context, baseDenom string, simulate bool, feeTx sdk.FeeTx) osmomath.Dec { + return osmomath.ZeroDec() // In block execution (DeliverTx), its set to the governance decided upon consensus min fee. minBaseGasPrice := types.ConsensusMinFee // If we are in CheckTx, a separate function is ran locally to ensure sufficient fees for entering our mempool. @@ -203,7 +204,7 @@ func (k Keeper) IsSufficientFee(ctx sdk.Context, minBaseGasPrice osmomath.Dec, g } func (mfd MempoolFeeDecorator) GetMinBaseGasPriceForTx(ctx sdk.Context, baseDenom string, tx sdk.FeeTx) osmomath.Dec { - var is1559enabled = mfd.Opts.Mempool1559Enabled + is1559enabled := mfd.Opts.Mempool1559Enabled cfgMinGasPrice := ctx.MinGasPrices().AmountOf(baseDenom) // the check below prevents tx gas from getting over HighGasTxThreshold which is default to 1_000_000