Design and Rationale
GasFeeCap < BaseFee
fail with ErrInsufficientFee
GasFeeCap < BaseFee
txpool_status
: Get pending and queued transaction countstxpool_content
: View all transactions in the pooltxpool_contentFrom
: View transactions from specific addressestxpool_inspect
: Get human-readable transaction summariesapp/app.go
):
app.toml
or config.toml
changes requiredmempool/txpool/legacypool/legacypool.go:168-178
BlockGasLimit
is set to 0
, defaults to 100_000_000
LegacyPoolConfig
is nil
, uses legacypool.DefaultConfig
CosmosPoolConfig
is nil
, uses default priority mempoolMinTip
is nil
, no minimum tip enforcementBroadCastTxFn
is optional (uses default broadcast if nil)ExperimentalEVMMempool
structure, which manages separate pools for EVM and Cosmos transactions while providing a single interface. This experimental implementation handles fee-based prioritization, nonce sequencing, and transaction verification through an integrated ante handler.
tests/systemtests/Counter/script/SimpleSends.s.sol
script demonstrates typical Ethereum tooling behavior - it sends 10 sequential transactions in a batch, which naturally arrive out of order and create nonce gaps.