EIP-7927 History expiry activation meta (History Expiry Meta)

No call decision · Networking & nodes · EIP status Stagnant · created 2025-03-28

This meta EIP is an activation plan laying out when and in what order history expiry, which lets Ethereum nodes delete pre-Merge block data, will be applied to mainnet.

Why it is needed

Ethereum execution clients have permanently retained every block and transaction since genesis, and the storage burden keeps growing as the chain lengthens. EIP-4444 proposed the principle that pre-Merge data may be deleted, but did not determine when or in what order this would actually be applied. In particular, because consensus layer clients relied on the execution layer for deposit logs from pre-Merge blocks, the data could not be deleted until this dependency was removed via EIP-6110. EIP-7927 organizes this sequencing and specifies a concrete schedule and conditions for applying history expiry in the order of devnets, the Sepolia testnet, and mainnet.

What changes

Today

After EIP-7927

Who is affected

In depth

The role of this EIP

EIP-7927 is not an EIP that defines a new feature but a Meta type EIP that documents the process and schedule for actually applying the history expiry proposed by EIP-4444 to mainnet, as well as its relationship to other related EIPs. The specifications of the features themselves live in individual EIPs such as EIP-7642, EIP-7639, and EIP-6110, and this document focuses on when and in what order they are applied.

Required and optional implementation requirements

Execution layer clients MUST implement EIP-7642 to support eth/69 on devp2p. Actually deleting pre-Merge history itself is optional (MAY) per EIP-7639. Consensus layer clients SHOULD NOT depend on pre-Merge deposit logs from the execution layer, and SHOULD implement EIP-6110 to achieve this.

Timing of mainnet activation

Mainnet activation of history expiry occurs with a delay of a few days to a few weeks after the Pectra hard fork (EIP-7600) is applied. This short delay is to ensure that clients only begin deleting history after confirming that all pre-fork deposit logs have been processed.

Testnet / devnet activation

Execution clients may first test history deletion on devnets. This is a step to validate in advance that no problems arise on Sepolia. On the Sepolia testnet, pre-Merge history may be deleted from 2025-05-01, serving as a proving ground before mainnet application.

Impact on JSON-RPC

History expiry only permits data deletion rather than forcing it, but clients that do delete data can no longer respond with local data to many JSON-RPC endpoints related to pre-Merge blocks and transactions, such as eth_getBlockByHash, eth_getTransactionByHash, and eth_getTransactionReceipt. Clients that need this functionality must connect to a separate data source.

Alternative data sources

Deleted pre-Merge data is retained in the e2store archive format and can be found publicly in the eth-clients list of historical data endpoints. Beyond this, the Portal Network provides a decentralized peer-to-peer storage and retrieval method, and the devp2p protocol in EIP-7801 also provides a means to look up the same data peer-to-peer.

Security considerations

Execution layer clients will no longer be able to support full history sync back to genesis via the devp2p eth protocol. To retain this capability, pre-Merge blocks must be fetched from an alternative source, and the validity of the data must still be properly verified in that case. Clients performing partial sync must also adjust their algorithm to sync only back to the Merge block instead of all the way to genesis as before.

Original EIP · ← EIPs