EIP-7907
Meter Contract Code Size
Adds gas metering to contract code loading beyond 24KB
DraftSplurge
Status history
- Draft14 Mar 2025
Abstract
This EIP adds gas metering for excess code loading, introducing a gas cost of 2 gas per (32 byte) word for contract code exceeding 24KB (24576 bytes). It builds on EIP-7954, which raises the contract code size limit to 64KB (65536 bytes) and the initcode size limit to 128KB (131072 bytes), without changing either limit.