Introduction
Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.
I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.
I also build and publish a variety of tools, libraries, and open-source projects.
Background
EIP-4444 proposes limiting how much transaction history Ethereum execution clients retain and serve. This article covers the earlier version of the proposal, which used a one-year cutoff.
This article explains and expands on the proposal linked below.
The proposal was marked Stagnant on January 21, 2024, when this article was written. The current Draft uses 14,299 epochs, matching the consensus-layer block retention window, in place of the original 82,125 epochs. The discussion below describes the earlier version unless stated otherwise.
I also cover other EIPs at the following link.
Overview
Execution clients should stop serving block headers, block bodies, and receipts older than one year over the peer-to-peer (P2P) network. They could also delete that history from local storage.
These rules apply to execution client software. They limit the historical data peers are expected to provide over the network and allow clients to reclaim disk space by pruning the data locally.
Older history is rarely needed during normal operation. Retaining it indefinitely increases storage costs, while handling obsolete data and the code that processes it adds maintenance and potential security concerns. Bounding the history clients serve helps control that overhead.
Motivation
The proposal cites more than 400GB of historical blocks and receipts on disk. That places a substantial storage burden on anyone running a client to validate the chain, even though validating new blocks does not require that history.
The proposal calls the removal of older data history pruning. In the existing model described by the proposal, once a client has caught up with the chain, it retrieves historical data only on explicit request or when a peer tries to sync. Pruning reduces storage requirements and simplifies client software. Clients can remove code that processes historical blocks instead of maintaining all the accumulated code paths for past upgrades.
The proposal also expects network bandwidth use to fall as clients adopt lighter synchronization strategies based on Proof of Stake (PoS) and weak subjectivity.
Specification
The earlier draft defined HISTORY_PRUNE_EPOCHS as 82125, roughly one year in Beacon Chain epochs. Clients should stop serving headers, block bodies, and receipts older than this window over P2P and may prune them locally.
This changes how a client bootstraps and syncs. A client can no longer perform a full sync using devp2p alone because peers no longer serve the complete history. Instead, the client uses a valid Weak Subjectivity Checkpoint to bootstrap from a recent view of the chain. For synchronization, the checkpoint serves as the starting point in place of the genesis block. This is called checkpoint sync.
The proposal assumes clients always start with a configured, valid Weak Subjectivity Checkpoint. How clients obtain or configure it is outside the scope of the proposal. The goal is to reduce network bandwidth and storage requirements.
Weak Subjectivity Checkpoint
Blockchain nodes, particularly on a PoS chain, need to agree on which history is canonical. Downloading and verifying an entire history can be time-consuming and resource-intensive for a new participant or a node that has been offline for a long time.
A Weak Subjectivity Checkpoint lets a node begin syncing from a particular point. The node downloads and verifies the history after that checkpoint instead of replaying the chain from genesis.
Choosing the checkpoint involves weak subjectivity. Users usually obtain the checkpoint from trusted sources or follow recommendations from the community. This introduces a limited trust assumption into an otherwise verifiable synchronization process.
The approach lets participants sync faster and save resources while preserving security and consistency, provided they choose a valid checkpoint. Starting from the wrong checkpoint can undermine the security of the resulting view of the chain.
Rationale
The proposal explicitly limits what historical data clients should serve over the P2P network. Its goal is to encourage clients to retrieve old history from sources outside the P2P protocol rather than relying on peers to serve it as an optional feature.
In the situation described by the original proposal, only some clients might volunteer to provide old data. Relying on that behavior leads to inconsistent availability and can complicate reliable access and verification. Dedicated sources for old data can help clients and users retrieve the history they need while keeping the normal network easier to operate and scale.
Why one year?
The earlier proposal set HISTORY_PRUNE_EPOCHS to 82125 epochs, about one year, to balance two concerns.
The first is the Weak Subjectivity Period, which limits how old a trusted checkpoint can be when a node bootstraps. The proposal treated 82125 epochs as enough headroom for the weak subjectivity period to grow while letting new nodes find a trustworthy checkpoint and sync from it.
The second is disk usage. Historical blockchain data occupies substantial space, so a shorter retention window limits what clients have to store. The earlier draft chose 82125 epochs as a compromise between these concerns.
The goal was to bound disk usage while leaving clients enough recent history to sync securely and consistently.
Backwards Compatibility
Preserving historical data
Limiting history on the P2P layer affects nodes and applications that display or analyze Ethereum's historical blocks, transactions, or accounts. Ethereum history still needs to be preserved and made available.
The proposal identifies alternatives such as distributing history through torrents or IPFS, or retrieving it through systems such as the Portal Network and The Graph. These mechanisms help preserve historical data and make it accessible on demand.
Clients should support exporting and importing historical data. They can also provide scripts that retrieve and verify data and then import it automatically.
Moving historical access to these channels lets the ordinary Ethereum network use fewer resources while keeping history available for users and applications that depend on it.
Full syncing from genesis
Full synchronization from genesis would no longer work using the Ethereum P2P network alone. Interested users could still verify the full history through other means.
The proposal suggests building a dedicated full-sync client. It would combine different releases of execution engines, import historical blocks, verify the Ethereum chain from genesis, and reconstruct any other historical data it needs.
At the time described by the proposal, archive nodes with state sync were under development, and full sync was described as the only reliable way to bootstrap them. Clients that continue to offer archive support would need to import blocks obtained outside the P2P network and retain support for each historical Ethereum upgrade. This lets them preserve and verify the complete history.
User experience
The change affects how users configure applications that depend on historical data. The proposal recommends a two-phase rollout for execution clients.
In the first phase, clients would keep history by default and offer a command-line option for users who want to prune it, similar to Geth's --txlookuplimit option.
In the second phase, clients would prune by default and remove that option. Users who need older history would be expected to find and import it through other channels. A staged rollout gives users time to adapt, since the change affects how they obtain historical data, while allowing clients to manage history more efficiently.
JSON-RPC changes
After the proposal is implemented, certain JSON-RPC methods may be unable to tell whether a supplied hash is invalid or simply refers to pruned history. For example, getBlockByHash may be unable to say whether the block exists. A method such as getLogs may no longer have the requested log data.
The proposal leaves the handling of these changes to client implementations and applications. It does not specify how to communicate missing history to users or how to retrieve it, so application developers and node operators need to decide how to handle these cases.
Security Considerations
Relying on weak subjectivity
Under PoS, a valid Weak Subjectivity Checkpoint is important for defending against long-range attacks, in which an attacker presents an alternative chain history far in the past. The checkpoint gives clients a trustworthy reference point.
The proposal assumes a client will never bootstrap from an invalid or outdated checkpoint. A client joining or rejoining the network starts from a trustworthy, recent checkpoint.
The earlier draft also assumes that the Weak Subjectivity Period does not exceed HISTORY_PRUNE_EPOCHS, the pruning window. If it did, a client with an otherwise usable but older checkpoint might fail to sync because peers no longer serve the necessary history. Checkpoint sync therefore depends on retaining enough recent data to cover the weak subjectivity period.
Centralization and censorship risks
If there is too little incentive to retain Ethereum's history, it may become hard to retrieve or easier to censor.
Independent organizations should preserve and distribute historical data and check its availability regularly. The proposal does not define how to implement or manage those mechanisms.
Running a node that serves old history may become harder. As a result, dapps may rely more on centralized providers to retrieve it. That dependency can weaken decentralization and permissionless access, so application developers and operators should consider decentralized ways to store and retrieve historical data.
Confusion with other proposals
Several proposals aim to reduce execution clients' disk usage. The authors specify that this proposal's number should be pronounced EIP “four fours” to distinguish it from others.
The convention gives discussions a consistent way to identify the proposal when several storage-reduction ideas are under consideration.
Citation
George Kadianakis (@asn-d6), lightclient (@lightclient), Alex Stokes (@ralexstokes), "EIP-4444: Bound Historical Data in Execution Clients [DRAFT]," Ethereum Improvement Proposals, no. 4444, November 2021. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-4444.
Conclusion
EIP-4444 limits the historical data clients serve over P2P and lets clients prune older data. The version covered in this article used a one-year cutoff.
Questions are welcome via direct message.
You can find more of my work at these links.


