Skip to main content

Overview

EIP-7934, active from Osaka, rejects any execution block whose RLP encoding is larger than 8 MiB. The limit keeps blocks under the 10 MiB gossip cap on the consensus layer, with 2 MiB left for the beacon block wrapper.

Constants

exceedsMaxRlpBlockSize

Returns true when encodedRlp.length > MAX_RLP_BLOCK_SIZE. A block of exactly 8,388,608 bytes is valid.
The check measures the full encoded block: header, transactions, ommers, and withdrawals. Block builders should stop adding transactions before the encoded size crosses the limit.

Hardfork gating

The limit applies to blocks at or after Osaka only. Gate the check on the block’s fork:

References