{"eip":8237,"title":"Independent CL/EL Sync","description":"Enables independent consensus and execution layer synchronization by replacing execution_requests_root with an accumulator hash.","authors":["M. Kalinin \u003cnoblesse.knight@gmail.com\u003e","Potuz (@potuz)","Toni Wahrstätter (@nerolation)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2026-04-22","requires":[7732],"discussionsTo":"https://ethereum-magicians.org/t/eip-8237-independent-cl-el-sync/28331","repo":"EIPs","label":"EIP-8237","officialUrl":"https://eips.ethereum.org/EIPS/eip-8237","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8237.md","url":"https://eips.huatuo.xyz/eip-8237/","tldr":{"en":"Replaces the execution-requests root in ePBS bids with a SHA256 \"partial header hash\" that both layers compute, so consensus clients can range-sync beacon blocks without downloading execution payloads.","ja":"ePBS の入札における execution-requests ルートを、両レイヤーが計算できる SHA256 の「partial header hash」に置き換え、コンセンサスクライアントが実行ペイロードをダウンロードせずにビーコンブロックをレンジ同期できるようにする。","ko":"ePBS 입찰의 execution-requests 루트를 두 레이어가 모두 계산할 수 있는 SHA256 \"partial header hash\"로 대체하여, 합의 클라이언트가 실행 페이로드를 내려받지 않고도 비콘 블록을 범위 동기화할 수 있게 한다.","zh":"把 ePBS 出价中的 execution-requests 根替换为双方层都能计算的 SHA256“partial header hash”，使共识客户端无需下载执行载荷就能对信标区块进行范围同步。"},"tags":["sync","consensus","execution","epbs","glamsterdam"],"explainers":{"en":{"lang":"en","tldr":"Replaces the execution-requests root in ePBS bids with a SHA256 \"partial header hash\" that both layers compute, so consensus clients can range-sync beacon blocks without downloading execution payloads.","tags":["sync","consensus","execution","epbs","glamsterdam"],"related":[7732,7928],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8237/","markdown":"## What problem does it solve?\n\nBefore ePBS, every beacon block embeds its execution payload. During range sync a consensus (CL) client downloads blocks, runs the beacon state transition and hands each payload to the execution (EL) client. The only things the two layers really need to agree on are the payload's block hash and the **execution requests** (deposits, withdrawals, consolidations) that the EL produces and the CL consumes.\n\n[EIP-7732](/eip-7732/) (ePBS) moves payloads out of beacon blocks into separate envelopes. In principle the CL could then sync only beacon blocks, saving bandwidth and avoiding round-trips to the EL. But without the payloads it cannot check that they match the bid's `block_hash` or its `execution_requests_root`, which is an SSZ root the EL cannot compute. EIP-8237 provides a commitment both layers can compute and check on their own.\n\n## How it works\n\n- **Bid change.** `execution_requests_root` is removed from `ExecutionPayloadBid`.\n- **New field `partial_header_hash`** is added to `BeaconBlockBody`, to the EL `ExecutionPayload`, and to the EL block header (so it is covered by `block_hash`).\n- **Computation.** It is a plain SHA256 over the concatenation of `parent_hash`, `prev_randao`, `gas_limit`, `timestamp`, `withdrawals`, `slot_number` and `execution_requests`, using raw little-endian bytes for integers and raw concatenation for lists. Plain SHA256 is used because the EL has no SSZ `hash_tree_root` tooling.\n- **CL checks.** Where the CL used to compare `hash_tree_root(requests)` against the bid root, it now recomputes `partial_header_hash` from the bid and its own state and compares it with the value in the envelope or in the next beacon block body.\n- **EL checks.** The EL recomputes the same value from its own block and rejects a mismatch.\n- Because `parent_hash` links each value to the previous block, the spec describes it as an accumulator that chains across blocks. A syncing CL can defer payload verification: once the EL catches up and agrees, the whole chain of commitments is confirmed.\n- **Engine API.** A new method lets the CL ask the EL for the stored value by block hash, to find where the two layers diverged if they disagree after a long sync. The draft does not name the method yet.\n\n## Sample code\n\nThe accumulator, as specified (Python-style pseudocode):\n\n```python\nimport hashlib\n\ndef u64(x: int) -\u003e bytes:\n    return x.to_bytes(8, \"little\")\n\ndef compute_partial_header_hash(parent_hash, prev_randao, gas_limit, timestamp,\n                                withdrawals, slot_number, execution_requests) -\u003e bytes:\n    data = (\n        parent_hash + prev_randao\n        + u64(gas_limit) + u64(timestamp)\n        + b\"\".join(serialize(w) for w in withdrawals)\n        + u64(slot_number)\n        + serialize(execution_requests)\n    )\n    return hashlib.sha256(data).digest()\n\n# EL side, during block validation\nassert block.partial_header_hash == compute_partial_header_hash(\n    block.parent_hash, block.prev_randao, block.gas_limit, block.timestamp,\n    block.withdrawals, block.slot_number, execution_requests)\n```\n\n## Things to know\n\n- **Status: Draft.** It targets the Glamsterdam/Gloas fork alongside ePBS and changes consensus containers, so it needs a hard fork.\n- It adds no new trust assumption: every payload is still verified eventually, just later during range sync.\n- The `slot_number` field comes from another Glamsterdam EIP and `block_access_list` from [EIP-7928](/eip-7928/); the exact container layout may shift as those proposals evolve.\n- The accumulator is not Merkle-provable; it only binds the values, which is all sync needs.\n"},"ja":{"lang":"ja","tldr":"ePBS の入札における execution-requests ルートを、両レイヤーが計算できる SHA256 の「partial header hash」に置き換え、コンセンサスクライアントが実行ペイロードをダウンロードせずにビーコンブロックをレンジ同期できるようにする。","tags":["sync","consensus","execution","epbs","glamsterdam"],"related":[7732,7928],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8237/","markdown":"## 何を解決するのか\n\nePBS 以前は、すべてのビーコンブロックに実行ペイロードが埋め込まれています。レンジ同期の間、コンセンサス（CL）クライアントはブロックをダウンロードし、ビーコンのステート遷移を実行して、各ペイロードを実行（EL）クライアントに渡します。2 つのレイヤーが本当に合意する必要があるのは、ペイロードのブロックハッシュと、EL が生成し CL が消費する**実行リクエスト**（デポジット、引き出し、統合）だけです。\n\n[EIP-7732](/eip-7732/)（ePBS）は、ペイロードをビーコンブロックから切り離して別のエンベロープに移します。原理的には、CL はビーコンブロックだけを同期でき、帯域を節約し、EL との往復も避けられます。しかしペイロードがなければ、それが入札の `block_hash` や `execution_requests_root` と一致することを確認できません。後者は EL が計算できない SSZ ルートです。EIP-8237 は、両レイヤーが自力で計算して検証できるコミットメントを提供します。\n\n## 仕組み\n\n- **入札の変更。** `ExecutionPayloadBid` から `execution_requests_root` が削除されます。\n- **新しいフィールド `partial_header_hash`** が、`BeaconBlockBody`、EL の `ExecutionPayload`、EL のブロックヘッダーに追加されます（そのため `block_hash` に含まれます）。\n- **計算。** `parent_hash`、`prev_randao`、`gas_limit`、`timestamp`、`withdrawals`、`slot_number`、`execution_requests` を連結したものに対する単純な SHA256 です。整数にはリトルエンディアンの生のバイト列、リストには生の連結を使います。EL には SSZ の `hash_tree_root` のツールがないため、単純な SHA256 を使います。\n- **CL のチェック。** CL がこれまで `hash_tree_root(requests)` を入札のルートと比較していた箇所で、今度は入札と自身のステートから `partial_header_hash` を再計算し、エンベロープまたは次のビーコンブロックのボディにある値と比較します。\n- **EL のチェック。** EL は自身のブロックから同じ値を再計算し、不一致を拒否します。\n- `parent_hash` が各値を前のブロックに結び付けるため、仕様はこれをブロックをまたいでつながるアキュムレーターと説明しています。同期中の CL はペイロードの検証を後回しにできます。EL が追いついて一致すれば、コミットメントの連鎖全体が確認されます。\n- **Engine API。** 新しいメソッドにより、CL はブロックハッシュを指定して EL から保存済みの値を取得でき、長い同期の後で両レイヤーが食い違った場合に、どこで分岐したかを突き止められます。ドラフトではまだメソッド名は決まっていません。\n\n## サンプルコード\n\n仕様どおりのアキュムレーター（Python 風の疑似コード）:\n\n```python\nimport hashlib\n\ndef u64(x: int) -\u003e bytes:\n    return x.to_bytes(8, \"little\")\n\ndef compute_partial_header_hash(parent_hash, prev_randao, gas_limit, timestamp,\n                                withdrawals, slot_number, execution_requests) -\u003e bytes:\n    data = (\n        parent_hash + prev_randao\n        + u64(gas_limit) + u64(timestamp)\n        + b\"\".join(serialize(w) for w in withdrawals)\n        + u64(slot_number)\n        + serialize(execution_requests)\n    )\n    return hashlib.sha256(data).digest()\n\n# EL side, during block validation\nassert block.partial_header_hash == compute_partial_header_hash(\n    block.parent_hash, block.prev_randao, block.gas_limit, block.timestamp,\n    block.withdrawals, block.slot_number, execution_requests)\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** ePBS とともに Glamsterdam/Gloas フォークを対象とし、コンセンサスのコンテナを変更するため、ハードフォークが必要です。\n- 新たな信頼の前提は加わりません。すべてのペイロードは最終的には検証されます。ただし、レンジ同期の後の段階で行われるだけです。\n- `slot_number` フィールドは別の Glamsterdam の EIP に、`block_access_list` は [EIP-7928](/eip-7928/) に由来します。これらの提案が進むにつれて、コンテナの正確なレイアウトは変わる可能性があります。\n- このアキュムレーターは Merkle 証明できません。値を束縛するだけで、同期に必要なのはそれだけです。\n"},"ko":{"lang":"ko","tldr":"ePBS 입찰의 execution-requests 루트를 두 레이어가 모두 계산할 수 있는 SHA256 \"partial header hash\"로 대체하여, 합의 클라이언트가 실행 페이로드를 내려받지 않고도 비콘 블록을 범위 동기화할 수 있게 한다.","tags":["sync","consensus","execution","epbs","glamsterdam"],"related":[7732,7928],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8237/","markdown":"## 어떤 문제를 해결하나요?\n\nePBS 이전에는 모든 비콘 블록이 실행 페이로드를 내장합니다. 범위 동기화 중에 합의(CL) 클라이언트는 블록을 내려받아 비콘 상태 전이를 실행하고 각 페이로드를 실행(EL) 클라이언트에 넘깁니다. 두 레이어가 정말로 합의해야 하는 것은 페이로드의 블록 해시와, EL이 만들고 CL이 소비하는 **실행 요청**(예치, 인출, 통합)뿐입니다.\n\n[EIP-7732](/eip-7732/)(ePBS)는 페이로드를 비콘 블록에서 빼내 별도의 봉투로 옮깁니다. 원칙적으로 CL은 비콘 블록만 동기화해 대역폭을 아끼고 EL과의 왕복도 피할 수 있습니다. 하지만 페이로드가 없으면 그것이 입찰의 `block_hash`나 `execution_requests_root`와 일치하는지 확인할 수 없습니다. 후자는 EL이 계산할 수 없는 SSZ 루트입니다. EIP-8237은 두 레이어가 각자 계산하고 확인할 수 있는 커밋먼트를 제공합니다.\n\n## 어떻게 동작하나요?\n\n- **입찰 변경.** `ExecutionPayloadBid`에서 `execution_requests_root`가 제거됩니다.\n- **새 필드 `partial_header_hash`**가 `BeaconBlockBody`, EL의 `ExecutionPayload`, EL 블록 헤더에 추가됩니다(그래서 `block_hash`에 포함됩니다).\n- **계산.** `parent_hash`, `prev_randao`, `gas_limit`, `timestamp`, `withdrawals`, `slot_number`, `execution_requests`를 이어 붙인 것에 대한 단순 SHA256입니다. 정수에는 리틀 엔디언 원시 바이트를, 리스트에는 원시 연결을 사용합니다. EL에는 SSZ `hash_tree_root` 도구가 없기 때문에 단순 SHA256을 씁니다.\n- **CL 검사.** CL이 예전에 `hash_tree_root(requests)`를 입찰의 루트와 비교하던 곳에서, 이제는 입찰과 자신의 상태로 `partial_header_hash`를 다시 계산해 봉투나 다음 비콘 블록 본문의 값과 비교합니다.\n- **EL 검사.** EL은 자신의 블록에서 같은 값을 다시 계산하고 불일치를 거부합니다.\n- `parent_hash`가 각 값을 이전 블록에 연결하므로, 스펙은 이를 블록에 걸쳐 이어지는 누산기로 설명합니다. 동기화 중인 CL은 페이로드 검증을 미룰 수 있습니다. EL이 따라잡아 일치하면 커밋먼트의 사슬 전체가 확인됩니다.\n- **Engine API.** 새 메서드를 통해 CL이 블록 해시로 EL에 저장된 값을 물어볼 수 있어, 긴 동기화 뒤에 두 레이어가 어긋날 때 어디서 갈라졌는지 찾을 수 있습니다. 초안에는 아직 메서드 이름이 없습니다.\n\n## 샘플 코드\n\n스펙에 정의된 누산기(파이썬 스타일 의사 코드):\n\n```python\nimport hashlib\n\ndef u64(x: int) -\u003e bytes:\n    return x.to_bytes(8, \"little\")\n\ndef compute_partial_header_hash(parent_hash, prev_randao, gas_limit, timestamp,\n                                withdrawals, slot_number, execution_requests) -\u003e bytes:\n    data = (\n        parent_hash + prev_randao\n        + u64(gas_limit) + u64(timestamp)\n        + b\"\".join(serialize(w) for w in withdrawals)\n        + u64(slot_number)\n        + serialize(execution_requests)\n    )\n    return hashlib.sha256(data).digest()\n\n# EL side, during block validation\nassert block.partial_header_hash == compute_partial_header_hash(\n    block.parent_hash, block.prev_randao, block.gas_limit, block.timestamp,\n    block.withdrawals, block.slot_number, execution_requests)\n```\n\n## 알아둘 점\n\n- **상태: Draft.** ePBS와 함께 Glamsterdam/Gloas 포크를 목표로 하며 합의 컨테이너를 바꾸므로 하드포크가 필요합니다.\n- 새로운 신뢰 가정은 추가되지 않습니다. 모든 페이로드는 결국 검증되며, 다만 범위 동기화 중 나중에 이뤄질 뿐입니다.\n- `slot_number` 필드는 다른 Glamsterdam EIP에서, `block_access_list`는 [EIP-7928](/eip-7928/)에서 가져온 것입니다. 이 제안들이 발전함에 따라 컨테이너의 정확한 레이아웃은 바뀔 수 있습니다.\n- 이 누산기는 Merkle 증명이 불가능합니다. 값을 묶어 줄 뿐이며, 동기화에는 그것으로 충분합니다.\n"},"zh":{"lang":"zh","tldr":"把 ePBS 出价中的 execution-requests 根替换为双方层都能计算的 SHA256“partial header hash”，使共识客户端无需下载执行载荷就能对信标区块进行范围同步。","tags":["sync","consensus","execution","epbs","glamsterdam"],"related":[7732,7928],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8237/","markdown":"## 它解决什么问题？\n\n在 ePBS 之前，每个信标区块都内嵌其执行载荷。在范围同步期间，共识（CL）客户端下载区块、运行信标状态转换，并把每个载荷交给执行（EL）客户端。两层真正需要达成一致的只有载荷的区块哈希，以及由 EL 产生、由 CL 消费的**执行请求**（存款、提款、合并）。\n\n[EIP-7732](/eip-7732/)（ePBS）把载荷从信标区块中移到单独的信封里。原则上，CL 就可以只同步信标区块，节省带宽并避免与 EL 的往返。但没有载荷，它就无法检查载荷是否与出价的 `block_hash` 或 `execution_requests_root` 匹配，而后者是 EL 无法计算的 SSZ 根。EIP-8237 提供了一个两层都能自行计算并检查的承诺。\n\n## 它如何运作\n\n- **出价变更。** 从 `ExecutionPayloadBid` 中移除 `execution_requests_root`。\n- **新字段 `partial_header_hash`** 被添加到 `BeaconBlockBody`、EL 的 `ExecutionPayload` 和 EL 区块头中（因此被 `block_hash` 所覆盖）。\n- **计算方式。** 它是对 `parent_hash`、`prev_randao`、`gas_limit`、`timestamp`、`withdrawals`、`slot_number` 和 `execution_requests` 拼接结果的普通 SHA256，整数使用原始的小端字节，列表使用原始拼接。使用普通 SHA256 是因为 EL 没有 SSZ `hash_tree_root` 的工具。\n- **CL 检查。** 以前 CL 会把 `hash_tree_root(requests)` 与出价中的根比较，现在则根据出价和自身状态重新计算 `partial_header_hash`，并与信封或下一个信标区块体中的值比较。\n- **EL 检查。** EL 根据自己的区块重新计算同一个值，并拒绝不匹配的情况。\n- 由于 `parent_hash` 把每个值与前一个区块相连，规范把它描述为跨区块链接的累加器。同步中的 CL 可以推迟载荷验证：一旦 EL 追上并且结果一致，整条承诺链就得到确认。\n- **Engine API。** 新方法允许 CL 按区块哈希向 EL 询问其存储的值，以便在长时间同步后两层不一致时找出分歧所在。草案尚未给出该方法的名称。\n\n## 示例代码\n\n规范中的累加器（Python 风格伪代码）：\n\n```python\nimport hashlib\n\ndef u64(x: int) -\u003e bytes:\n    return x.to_bytes(8, \"little\")\n\ndef compute_partial_header_hash(parent_hash, prev_randao, gas_limit, timestamp,\n                                withdrawals, slot_number, execution_requests) -\u003e bytes:\n    data = (\n        parent_hash + prev_randao\n        + u64(gas_limit) + u64(timestamp)\n        + b\"\".join(serialize(w) for w in withdrawals)\n        + u64(slot_number)\n        + serialize(execution_requests)\n    )\n    return hashlib.sha256(data).digest()\n\n# EL side, during block validation\nassert block.partial_header_hash == compute_partial_header_hash(\n    block.parent_hash, block.prev_randao, block.gas_limit, block.timestamp,\n    block.withdrawals, block.slot_number, execution_requests)\n```\n\n## 需要注意\n\n- **状态：Draft。** 它与 ePBS 一同面向 Glamsterdam/Gloas 分叉，并且修改了共识容器，因此需要硬分叉。\n- 它不引入新的信任假设：每个载荷最终仍会被验证，只是在范围同步的较晚阶段进行。\n- `slot_number` 字段来自 Glamsterdam 的另一个 EIP，`block_access_list` 来自 [EIP-7928](/eip-7928/)；随着这些提案的演进，具体的容器布局可能会改变。\n- 该累加器不能通过 Merkle 证明；它只是绑定这些值，而这正是同步所需要的全部。\n"}}}
