EIP Radar
@ 41a838d ·
EIP-7907

Meter Contract Code Size

Adds gas metering to contract code loading beyond 24KB

DraftSplurge

Status history

  1. 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.

Created
14 Mar 2025
Authors
Charles Cooper, Qi Zhou, Matt, Dragan Rakita, Ben Adams
Upgrades
Requires
EIP-170EIP-2929EIP-7702EIP-7954
Required by
—