{"eip":7639,"title":"eth/70 - Cease serving history before PoS","description":"Execution layer clients will no longer serve block data before Paris over p2p.","authors":["lightclient (@lightclient)"],"status":"Stagnant","type":"Standards Track","category":"Networking","created":"2024-02-13","discussionsTo":"https://ethereum-magicians.org/t/cease-serving-history-before-pos/18991","repo":"EIPs","label":"EIP-7639","officialUrl":"https://eips.ethereum.org/EIPS/eip-7639","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7639.md","url":"https://eips.huatuo.xyz/eip-7639/","tldr":{"en":"A stalled proposal for an eth/70 protocol version in which execution clients stop requesting and serving pre-merge block bodies and receipts over p2p, a first step toward dropping old history.","ja":"実行クライアントが p2p 経由でマージ前のブロックボディとレシートの要求と提供をやめる eth/70 プロトコルバージョンの、停滞中の提案。古い履歴を切り捨てるための第一歩。","ko":"실행 클라이언트가 p2p로 머지 이전 블록 바디와 영수증을 더 이상 요청하거나 제공하지 않도록 하는 eth/70 프로토콜 버전의 정체된 제안. 오래된 기록을 덜어내기 위한 첫걸음이다.","zh":"一项陷入停滞的 eth/70 协议版本提案：执行客户端不再通过 p2p 请求和提供合并前的区块体与收据，这是舍弃旧历史的第一步。"},"tags":["networking","devp2p","history-expiry","storage","stagnant"],"explainers":{"en":{"lang":"en","tldr":"A stalled proposal for an eth/70 protocol version in which execution clients stop requesting and serving pre-merge block bodies and receipts over p2p, a first step toward dropping old history.","tags":["networking","devp2p","history-expiry","storage","stagnant"],"related":[4444,7642,7542,7975],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7639/","markdown":"## What problem does it solve?\n\nExecution clients store every block since genesis. The spec puts this at around 500 GB as of 2024, with nearly 400 GB of it from before the merge (the Paris upgrade). Ethereum's long-term plan ([EIP-4444](/eip-4444/)) is to bound how much history a node must keep. But as long as the p2p protocol expects peers to serve all history, nodes cannot safely drop it.\n\nEIP-7639 proposed the first concrete step: stop exchanging pre-merge block data on the `eth` p2p protocol.\n\n## How it works\n\n- A new `eth` capability, version `70`.\n- Peers on this version must not make or answer queries for block bodies or receipts before block **15537393**, the mainnet merge boundary used by the spec.\n- Affected messages:\n  - `GetBlockBodies (0x05)` / `BlockBodies (0x06)`\n  - `GetReceipts (0x0f)` / `Receipts (0x10)`\n\nWhy draw the line at the merge? The block structure changed substantially there, and since then the beacon chain defines the canonical chain. Beacon blocks can record history for both the execution and consensus layers, so pre-merge data is the natural first candidate for removal.\n\n## Sample code\n\nHow a client implementing this rule might handle requests (pseudocode):\n\n```python\nMERGE_BLOCK = 15537393\n\ndef handle_get_block_bodies(peer, hashes):\n    bodies = []\n    for h in hashes:\n        header = chain.get_header(h)\n        if header is None or (peer.version \u003e= 70 and header.number \u003c MERGE_BLOCK):\n            continue  # pre-merge data is not served\n        bodies.append(chain.get_body(h))\n    peer.send(\"BlockBodies\", bodies)\n```\n\n## Things to know\n\n- Status is **Stagnant**. It was not adopted as eth/70.\n- The goal was later reached by other means: [EIP-7642](/eip-7642/) (eth/69) lets nodes advertise which block range they serve, so peers can drop pre-merge history without a protocol version that forbids it. The eth/70 number is now used by [EIP-7975](/eip-7975/).\n- Under this proposal, nodes could no longer full-sync from genesis over devp2p. They would need to fetch pre-merge history out-of-band, for example from archives.\n- The spec's Security Considerations section was left as \"TODO\".\n- [EIP-7542](/eip-7542/) was an earlier, now withdrawn, eth/70 proposal for advertising block ranges.\n"},"ja":{"lang":"ja","tldr":"実行クライアントが p2p 経由でマージ前のブロックボディとレシートの要求と提供をやめる eth/70 プロトコルバージョンの、停滞中の提案。古い履歴を切り捨てるための第一歩。","tags":["networking","devp2p","history-expiry","storage","stagnant"],"related":[4444,7642,7542,7975],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7639/","markdown":"## 何を解決するのか\n\n実行クライアントは、ジェネシス以降のすべてのブロックを保存しています。仕様によると 2024 年時点でおよそ 500 GB で、そのうち 400 GB 近くがマージ（Paris アップグレード）以前のものです。Ethereum の長期計画（[EIP-4444](/eip-4444/)）は、ノードが保持しなければならない履歴の量に上限を設けることです。しかし p2p プロトコルがピアにすべての履歴の提供を求めている限り、ノードは安全にそれを手放せません。\n\nEIP-7639 は最初の具体的な一歩を提案しました。`eth` p2p プロトコルで、マージ前のブロックデータのやり取りをやめるというものです。\n\n## 仕組み\n\n- 新しい `eth` ケイパビリティ、バージョン `70`。\n- このバージョンのピアは、ブロック **15537393**（仕様が使うメインネットのマージ境界）より前のブロックボディやレシートについて、問い合わせを行ったり応答したりしてはなりません。\n- 影響を受けるメッセージ:\n  - `GetBlockBodies (0x05)` / `BlockBodies (0x06)`\n  - `GetReceipts (0x0f)` / `Receipts (0x10)`\n\nなぜマージで線を引くのか。ブロックの構造がそこで大きく変わり、それ以降はビーコンチェーンがカノニカルチェーンを定めているからです。ビーコンブロックは実行レイヤーとコンセンサスレイヤーの両方の履歴を記録できるため、マージ前のデータが削除の最初の自然な候補になります。\n\n## サンプルコード\n\nこのルールを実装するクライアントがリクエストをどう処理するかの例（擬似コード）:\n\n```python\nMERGE_BLOCK = 15537393\n\ndef handle_get_block_bodies(peer, hashes):\n    bodies = []\n    for h in hashes:\n        header = chain.get_header(h)\n        if header is None or (peer.version \u003e= 70 and header.number \u003c MERGE_BLOCK):\n            continue  # pre-merge data is not served\n        bodies.append(chain.get_body(h))\n    peer.send(\"BlockBodies\", bodies)\n```\n\n## 知っておくべきこと\n\n- ステータスは **Stagnant** です。eth/70 としては採用されませんでした。\n- この目標は、のちに別の手段で達成されました。[EIP-7642](/eip-7642/)（eth/69）は、ノードが提供するブロック範囲を通知できるようにするため、ピアは、それを禁じるプロトコルバージョンなしでマージ前の履歴を手放せます。eth/70 という番号は現在 [EIP-7975](/eip-7975/) が使っています。\n- この提案では、ノードはもう devp2p でジェネシスからフル同期できなくなります。マージ前の履歴はアーカイブなど、帯域外で取得する必要があります。\n- 仕様の Security Considerations セクションは「TODO」のままでした。\n- [EIP-7542](/eip-7542/) は、ブロック範囲を通知するための、それ以前の（現在は取り下げられた）eth/70 の提案でした。\n"},"ko":{"lang":"ko","tldr":"실행 클라이언트가 p2p로 머지 이전 블록 바디와 영수증을 더 이상 요청하거나 제공하지 않도록 하는 eth/70 프로토콜 버전의 정체된 제안. 오래된 기록을 덜어내기 위한 첫걸음이다.","tags":["networking","devp2p","history-expiry","storage","stagnant"],"related":[4444,7642,7542,7975],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7639/","markdown":"## 어떤 문제를 해결하나요?\n\n실행 클라이언트는 제네시스 이후의 모든 블록을 저장합니다. 명세에 따르면 2024년 기준으로 약 500 GB이고, 그중 400 GB 가까이가 머지(Paris 업그레이드) 이전의 것입니다. 이더리움의 장기 계획([EIP-4444](/eip-4444/))은 노드가 보관해야 하는 기록의 양에 상한을 두는 것입니다. 하지만 p2p 프로토콜이 피어에게 모든 기록을 제공하도록 기대하는 한, 노드는 안전하게 기록을 버릴 수 없습니다.\n\nEIP-7639는 첫 번째 구체적인 단계를 제안했습니다. `eth` p2p 프로토콜에서 머지 이전 블록 데이터의 교환을 멈추는 것입니다.\n\n## 어떻게 동작하나요?\n\n- 새로운 `eth` 기능(capability), 버전 `70`.\n- 이 버전의 피어는 블록 **15537393**(명세가 사용하는 메인넷 머지 경계)보다 앞선 블록 바디나 영수증에 대한 질의를 보내거나 응답해서는 안 됩니다.\n- 영향을 받는 메시지:\n  - `GetBlockBodies (0x05)` / `BlockBodies (0x06)`\n  - `GetReceipts (0x0f)` / `Receipts (0x10)`\n\n왜 머지에서 선을 그을까요? 블록 구조가 그 시점에 크게 바뀌었고, 그 이후로는 비콘 체인이 정규 체인을 정의하기 때문입니다. 비콘 블록은 실행 계층과 합의 계층 모두의 기록을 남길 수 있으므로, 머지 이전 데이터가 삭제의 자연스러운 첫 후보입니다.\n\n## 샘플 코드\n\n이 규칙을 구현하는 클라이언트가 요청을 처리하는 방식의 예(의사 코드):\n\n```python\nMERGE_BLOCK = 15537393\n\ndef handle_get_block_bodies(peer, hashes):\n    bodies = []\n    for h in hashes:\n        header = chain.get_header(h)\n        if header is None or (peer.version \u003e= 70 and header.number \u003c MERGE_BLOCK):\n            continue  # pre-merge data is not served\n        bodies.append(chain.get_body(h))\n    peer.send(\"BlockBodies\", bodies)\n```\n\n## 알아둘 점\n\n- 상태는 **Stagnant**입니다. eth/70으로 채택되지 않았습니다.\n- 이 목표는 이후 다른 방식으로 달성되었습니다. [EIP-7642](/eip-7642/)(eth/69)는 노드가 제공하는 블록 범위를 알릴 수 있게 하므로, 피어는 이를 금지하는 프로토콜 버전 없이도 머지 이전 기록을 버릴 수 있습니다. eth/70이라는 번호는 현재 [EIP-7975](/eip-7975/)가 사용합니다.\n- 이 제안에서는 노드가 더 이상 devp2p로 제네시스부터 풀 싱크를 할 수 없습니다. 머지 이전 기록은 아카이브 등 대역 외에서 가져와야 합니다.\n- 명세의 Security Considerations 섹션은 \"TODO\"로 남아 있었습니다.\n- [EIP-7542](/eip-7542/)는 블록 범위를 알리기 위한, 앞서 나왔던(현재는 철회된) eth/70 제안이었습니다.\n"},"zh":{"lang":"zh","tldr":"一项陷入停滞的 eth/70 协议版本提案：执行客户端不再通过 p2p 请求和提供合并前的区块体与收据，这是舍弃旧历史的第一步。","tags":["networking","devp2p","history-expiry","storage","stagnant"],"related":[4444,7642,7542,7975],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7639/","markdown":"## 它解决什么问题？\n\n执行客户端会存储自创世以来的每个区块。规范称，截至 2024 年这大约有 500 GB，其中近 400 GB 来自合并（Paris 升级）之前。以太坊的长期计划（[EIP-4444](/eip-4444/)）是限制节点必须保留的历史量。但只要 p2p 协议还期望对等节点提供全部历史，节点就无法安全地丢弃它。\n\nEIP-7639 提出了第一个具体步骤：在 `eth` p2p 协议上停止交换合并前的区块数据。\n\n## 它如何运作\n\n- 一个新的 `eth` 能力，版本 `70`。\n- 使用该版本的对等节点，不得发起或应答针对区块 **15537393** 之前的区块体或收据的查询，这是规范所采用的主网合并边界。\n- 受影响的消息：\n  - `GetBlockBodies (0x05)` / `BlockBodies (0x06)`\n  - `GetReceipts (0x0f)` / `Receipts (0x10)`\n\n为什么把界线划在合并处？区块结构在那里发生了重大变化，并且自那以后由信标链定义规范链。信标区块可以记录执行层和共识层两者的历史，所以合并前的数据是最自然的首批删除对象。\n\n## 示例代码\n\n实现这条规则的客户端可能如何处理请求（伪代码）：\n\n```python\nMERGE_BLOCK = 15537393\n\ndef handle_get_block_bodies(peer, hashes):\n    bodies = []\n    for h in hashes:\n        header = chain.get_header(h)\n        if header is None or (peer.version \u003e= 70 and header.number \u003c MERGE_BLOCK):\n            continue  # pre-merge data is not served\n        bodies.append(chain.get_body(h))\n    peer.send(\"BlockBodies\", bodies)\n```\n\n## 需要注意\n\n- 状态为 **Stagnant**。它没有被采纳为 eth/70。\n- 这一目标后来通过其他方式实现了：[EIP-7642](/eip-7642/)（eth/69）让节点公布自己提供的区块范围，因此对等节点无需一个禁止它的协议版本，也能丢弃合并前的历史。eth/70 这个编号现在被 [EIP-7975](/eip-7975/) 使用。\n- 在这一提案下，节点将无法再通过 devp2p 从创世开始完整同步。它们需要通过带外方式获取合并前的历史，例如从归档中获取。\n- 规范中的 Security Considerations 部分仍然是\"TODO\"。\n- [EIP-7542](/eip-7542/) 是此前一项（现已撤回的）用于公布区块范围的 eth/70 提案。\n"}}}
