revm_primitives/
eip7825.rs

1//! EIP-7825: Transaction Gas Limit Cap  
2//! Introduce a protocol-level cap on the maximum gas used by a transaction to 30 million.
3
4/// Transaction gas limit cap.
5///
6/// # Rationale from EIP
7///
8/// The proposed cap of 30 million gas is based on the typical size of Ethereum blocks today,
9/// which often range between 30-40 million gas. This value is large enough to allow complex
10/// transactions, such as contract deployments and advanced DeFi interactions, while still
11/// reserving space for other transactions within a block.
12pub const TX_GAS_LIMIT_CAP: u64 = 30_000_000;