Constant TX_GAS_LIMIT_CAP

Source
pub const TX_GAS_LIMIT_CAP: u64 = 16_777_216;
Expand description

Transaction gas limit cap.

ยงRationale from EIP

The proposed cap of 16,777,216 gas (2^24) provides a clean power-of-two boundary that simplifies implementation while still being large enough to accommodate most complex transactions, including contract deployments and advanced DeFi interactions. This value represents approximately half of typical block sizes (30-40 million gas), ensuring multiple transactions can fit within each block.