diff --git a/x/auth/ante/basic.go b/x/auth/ante/basic.go index d0ac04554a..72a1ebc6b5 100644 --- a/x/auth/ante/basic.go +++ b/x/auth/ante/basic.go @@ -198,7 +198,7 @@ func NewTxTimeoutHeightDecorator() TxTimeoutHeightDecorator { return TxTimeoutHeightDecorator{} } -// AnteHandle implements an AnteHandler decorator for the TxHeightTimeoutDecorator +// AnteHandle implements an AnteHandler decorator for the TxTimeoutHeightDecorator // type where the current block height is checked against the tx's height timeout. // If a height timeout is provided (non-zero) and is less than the current block // height, then an error is returned. diff --git a/x/auth/ante/fee_test.go b/x/auth/ante/fee_test.go index 4f772fb3d7..16055ddd13 100644 --- a/x/auth/ante/fee_test.go +++ b/x/auth/ante/fee_test.go @@ -100,7 +100,7 @@ func TestEnsureMempoolFees(t *testing.T) { // Set IsCheckTx back to true for testing sufficient mempool fee s.ctx = s.ctx.WithIsCheckTx(true) - atomPrice = sdk.NewDecCoinFromDec("atom", math.LegacyNewDec(0).Quo(math.LegacyNewDec(100000))) + atomPrice = sdk.NewDecCoinFromDec("atom", math.LegacyNewDec(1).Quo(math.LegacyNewDec(100000))) lowGasPrice := []sdk.DecCoin{atomPrice} s.ctx = s.ctx.WithMinGasPrices(lowGasPrice)