EIP-7927 · Stagnant · Meta · 2025-03-28
EIP-7927: History Expiry Meta
The coordinating Meta EIP for letting execution clients drop pre-merge block history, listing the supporting EIPs and the devnet, Sepolia and post-Pectra mainnet rollout plan.
What problem does it solve?
Every Ethereum execution client has traditionally stored and served the full chain history back to genesis. That costs hundreds of gigabytes of disk and is rarely needed to validate new blocks. EIP-4444 set the goal of bounding the history clients must keep.
EIP-7927 is not a protocol change itself. It is a Meta EIP that pulls the pieces together for the first concrete step: allowing clients to drop pre-merge history, and explains how that will be activated on devnets, Sepolia and mainnet.
How it works
The spec ties together three requirements:
- Execution clients MUST implement EIP-7642 (
eth/69), the DevP2P version that copes with peers not having full history. - Execution clients MAY drop pre-merge history as described in EIP-7639.
- Consensus clients SHOULD NOT rely on pre-merge deposit logs and SHOULD implement EIP-6110, which delivers validator deposits on-chain from Pectra onward.
Rollout plan:
- Devnets first, to catch breakage early.
- Sepolia: execution clients may drop pre-merge history from 2025-05-01.
- Mainnet: a few days or weeks after the Pectra hard fork, so that all pre-fork deposit logs have been processed before anyone deletes them.
Where the old data lives instead: e2store archive files (listed on the eth-clients website), the Portal network, and the proposed EIP-7801 DevP2P subprotocol.
Sample code
What a dApp may see when it asks a pruned node for a pre-merge block (ethers v6, illustrative):
import { JsonRpcProvider } from "ethers";
const provider = new JsonRpcProvider(process.env.RPC_URL);
// Block 1,000,000 is from 2016, long before the merge.
const block = await provider.getBlock(1_000_000);
if (block === null) {
// A node that dropped pre-merge history may return null or an error here.
// Fall back to an archive provider or e2store/Portal data instead.
console.log("pre-merge history not available on this node");
}
Things to know
- Status: Stagnant as an EIP document, even though it describes a coordinated rollout plan.
- Dropping history is optional. Clients that want to keep serving it for JSON-RPC may do so.
- On nodes that drop it, pre-merge lookups such as
eth_getBlockByNumber,eth_getTransactionByHashandeth_getTransactionReceiptstop working unless the client fetches the data elsewhere. - Full sync from genesis over
ethis no longer possible from such peers. Clients that import old blocks from other sources must still validate them.