reth_transaction_pool::validate

Function ensure_intrinsic_gas

Source
pub fn ensure_intrinsic_gas<T: EthPoolTransaction>(
    transaction: &T,
    fork_tracker: &ForkTracker,
) -> Result<(), InvalidPoolTransactionError>
Expand description

A TransactionValidator implementation that validates ethereum transaction. Ensures that gas limit of the transaction exceeds the intrinsic gas of the transaction.

Caution: This only checks past the Merge hardfork.