{"eip":8015,"title":"Remove `deposit` and `eth1data` fields","description":"Remove legacy deposit and Eth1 data fields from `BeaconBlockBody` and `BeaconState` after EIP-6110 finalization","authors":["Terence (@terencechain)","Etan Kissling (@etan-status)"],"status":"Draft","type":"Standards Track","category":"Core","created":"2025-08-22","requires":[6110,7688,7773],"discussionsTo":"https://ethereum-magicians.org/t/eip-8015-remove-legacy-deposit-and-eth1data-fields/25401","repo":"EIPs","label":"EIP-8015","officialUrl":"https://eips.ethereum.org/EIPS/eip-8015","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8015.md","url":"https://eips.huatuo.xyz/eip-8015/","tldr":{"en":"Cleans up the beacon chain by deleting the now-unused `eth1_data` and `deposits` block fields, the Eth1 voting machinery and four state fields, since deposits arrive through EIP-6110 requests instead.","ja":"使われなくなった `eth1_data` と `deposits` のブロックフィールド、Eth1 投票の仕組み、4 つのステートフィールドを削除してビーコンチェーンを整理する。deposit は代わりに EIP-6110 のリクエストで届くため。","ko":"더 이상 쓰이지 않는 `eth1_data`와 `deposits` 블록 필드, Eth1 투표 장치, 상태 필드 네 개를 삭제해 비콘 체인을 정리한다. 예치금은 이제 EIP-6110 요청으로 전달되기 때문이다.","zh":"清理信标链：删除已不再使用的 `eth1_data` 和 `deposits` 区块字段、Eth1 投票机制以及四个状态字段，因为存款现在改由 EIP-6110 的请求传入。"},"tags":["consensus","deposits","cleanup","beacon-chain","ssz"],"explainers":{"en":{"lang":"en","tldr":"Cleans up the beacon chain by deleting the now-unused `eth1_data` and `deposits` block fields, the Eth1 voting machinery and four state fields, since deposits arrive through EIP-6110 requests instead.","tags":["consensus","deposits","cleanup","beacon-chain","ssz"],"related":[6110,7688,7773,7685],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-8015/","markdown":"## What problem does it solve?\n\nOriginally the beacon chain learned about new validator deposits by having block proposers **vote** on the state of the execution chain's deposit contract (`eth1_data`), then include the deposits themselves in blocks with Merkle proofs. [EIP-6110](/eip-6110/) replaced this: deposits are now passed from the execution layer as requests (via [EIP-7685](/eip-7685/)), with no voting.\n\nDuring the transition both mechanisms had to coexist. Once every legacy deposit has been processed, the old fields are dead weight: they still sit in every block and in the beacon state, and clients still carry the voting code. The Fulu fork already required `body.deposits` to be empty. EIP-8015 removes what remains.\n\n## How it works\n\n**Activation** requires two things: the EIP-6110 transition must be complete (`state.eth1_deposit_index == state.deposit_requests_start_index`), and the Glamsterdam upgrade ([EIP-7773](/eip-7773/)) must be in effect.\n\n**Removed from `BeaconBlockBody`:**\n- `eth1_data`\n- `deposits`\n\n**Removed from `BeaconState`:**\n- `eth1_data`, `eth1_data_votes`, `eth1_deposit_index`, `deposit_requests_start_index`\n\n**Removed logic:**\n- `process_eth1_data()` from block processing and the empty-deposits assertion in `process_operations`\n- `process_eth1_data_reset()` from epoch processing\n- Eth1 data polling and `get_eth1_vote` from the honest-validator duties\n\nBoth containers are SSZ `ProgressiveContainer`s ([EIP-7688](/eip-7688/)). Fields are \"removed\" by clearing their bit in `active_fields`, so every remaining field keeps its generalized index and existing Merkle proofs against those fields still verify.\n\n## Sample code\n\nThe block body after the change (consensus-spec Python); the zero bits mark removed fields:\n\n```python\nclass BeaconBlockBody(\n    ProgressiveContainer(active_fields=[1] + [0] + [1] * 4 + [0] + [1] * 6)\n):\n    randao_reveal: BLSSignature\n    # removed: eth1_data\n    graffiti: Bytes32\n    proposer_slashings: ProgressiveList[ProposerSlashing]\n    attester_slashings: ProgressiveList[AttesterSlashing]\n    attestations: ProgressiveList[Attestation]\n    # removed: deposits\n    voluntary_exits: ProgressiveList[SignedVoluntaryExit]\n    sync_aggregate: SyncAggregate\n    bls_to_execution_changes: ProgressiveList[SignedBLSToExecutionChange]\n    signed_execution_payload_bid: SignedExecutionPayloadBid\n    payload_attestations: ProgressiveList[PayloadAttestation]\n    parent_execution_requests: ExecutionRequests\n```\n\n## Things to know\n\n- **Status: Draft.** It depends on EIP-7688 and EIP-7773, which are themselves still in Review.\n- Nothing changes for stakers: deposits continue to be made to the deposit contract and processed through EIP-6110.\n- Historical blocks and states keep their original schemas and remain verifiable.\n- Tools that read `eth1_data` or `eth1_deposit_index` from the beacon API or state will need updating.\n"},"ja":{"lang":"ja","tldr":"使われなくなった `eth1_data` と `deposits` のブロックフィールド、Eth1 投票の仕組み、4 つのステートフィールドを削除してビーコンチェーンを整理する。deposit は代わりに EIP-6110 のリクエストで届くため。","tags":["consensus","deposits","cleanup","beacon-chain","ssz"],"related":[6110,7688,7773,7685],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-8015/","markdown":"## 何を解決するのか\n\nもともとビーコンチェーンは、ブロック提案者が実行チェーンの deposit コントラクトの状態（`eth1_data`）に**投票**し、その後 deposit 自体を Merkle 証明付きでブロックに含めることで、新しいバリデータの deposit を知っていました。[EIP-6110](/eip-6110/) がこれを置き換えました。deposit は現在、投票なしで、実行レイヤーから（[EIP-7685](/eip-7685/) 経由の）リクエストとして渡されます。\n\n移行期間中は、両方の仕組みが共存する必要がありました。従来の deposit がすべて処理されたあとは、古いフィールドは不要な荷物です。それらは今もすべてのブロックとビーコンステートに残り、クライアントは投票用のコードを抱え続けています。Fulu フォークでは既に `body.deposits` が空であることが必須になっています。EIP-8015 は残っているものを取り除きます。\n\n## 仕組み\n\n**有効化**には 2 つの条件が必要です。EIP-6110 の移行が完了していること（`state.eth1_deposit_index == state.deposit_requests_start_index`）と、Glamsterdam アップグレード（[EIP-7773](/eip-7773/)）が有効であることです。\n\n**`BeaconBlockBody` から削除されるもの:**\n- `eth1_data`\n- `deposits`\n\n**`BeaconState` から削除されるもの:**\n- `eth1_data`、`eth1_data_votes`、`eth1_deposit_index`、`deposit_requests_start_index`\n\n**削除されるロジック:**\n- ブロック処理の `process_eth1_data()` と、`process_operations` の deposit が空であることのアサーション\n- エポック処理の `process_eth1_data_reset()`\n- 誠実なバリデータの職務にある Eth1 データのポーリングと `get_eth1_vote`\n\nどちらのコンテナも SSZ の `ProgressiveContainer`（[EIP-7688](/eip-7688/)）です。フィールドは `active_fields` のビットをクリアすることで「削除」されるため、残りのすべてのフィールドは generalized index を保ち、それらのフィールドに対する既存の Merkle 証明は引き続き検証できます。\n\n## サンプルコード\n\n変更後のブロックボディ（consensus-spec の Python）。0 のビットが削除されたフィールドを示します。\n\n```python\nclass BeaconBlockBody(\n    ProgressiveContainer(active_fields=[1] + [0] + [1] * 4 + [0] + [1] * 6)\n):\n    randao_reveal: BLSSignature\n    # removed: eth1_data\n    graffiti: Bytes32\n    proposer_slashings: ProgressiveList[ProposerSlashing]\n    attester_slashings: ProgressiveList[AttesterSlashing]\n    attestations: ProgressiveList[Attestation]\n    # removed: deposits\n    voluntary_exits: ProgressiveList[SignedVoluntaryExit]\n    sync_aggregate: SyncAggregate\n    bls_to_execution_changes: ProgressiveList[SignedBLSToExecutionChange]\n    signed_execution_payload_bid: SignedExecutionPayloadBid\n    payload_attestations: ProgressiveList[PayloadAttestation]\n    parent_execution_requests: ExecutionRequests\n```\n\n## 知っておくべきこと\n\n- **ステータス: Draft。** EIP-7688 と EIP-7773 に依存しており、これらもまだ Review 段階です。\n- ステーカーにとって変わることはありません。deposit はこれまでどおり deposit コントラクトに対して行われ、EIP-6110 経由で処理されます。\n- 過去のブロックとステートは元のスキーマを保ち、検証可能なままです。\n- ビーコン API やステートから `eth1_data` や `eth1_deposit_index` を読むツールは、更新が必要になります。\n"},"ko":{"lang":"ko","tldr":"더 이상 쓰이지 않는 `eth1_data`와 `deposits` 블록 필드, Eth1 투표 장치, 상태 필드 네 개를 삭제해 비콘 체인을 정리한다. 예치금은 이제 EIP-6110 요청으로 전달되기 때문이다.","tags":["consensus","deposits","cleanup","beacon-chain","ssz"],"related":[6110,7688,7773,7685],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-8015/","markdown":"## 어떤 문제를 해결하나요?\n\n원래 비콘 체인은 블록 제안자가 실행 체인의 예치금 컨트랙트 상태(`eth1_data`)에 **투표**하고, 그다음 예치금 자체를 Merkle 증명과 함께 블록에 포함시키는 방식으로 새 검증자의 예치금을 알았습니다. [EIP-6110](/eip-6110/)이 이를 대체했습니다. 이제 예치금은 투표 없이 실행 계층에서 요청([EIP-7685](/eip-7685/) 경유)으로 전달됩니다.\n\n전환 기간에는 두 방식이 공존해야 했습니다. 기존 예치금이 모두 처리되고 나면 옛 필드는 쓸모없는 짐입니다. 모든 블록과 비콘 상태에 여전히 남아 있고, 클라이언트도 투표 코드를 계속 가지고 있습니다. Fulu 포크는 이미 `body.deposits`가 비어 있도록 요구했습니다. EIP-8015는 남은 것을 제거합니다.\n\n## 어떻게 동작하나요?\n\n**활성화**에는 두 가지가 필요합니다. EIP-6110 전환이 완료되어야 하고(`state.eth1_deposit_index == state.deposit_requests_start_index`), Glamsterdam 업그레이드([EIP-7773](/eip-7773/))가 적용되어 있어야 합니다.\n\n**`BeaconBlockBody`에서 제거되는 것:**\n- `eth1_data`\n- `deposits`\n\n**`BeaconState`에서 제거되는 것:**\n- `eth1_data`, `eth1_data_votes`, `eth1_deposit_index`, `deposit_requests_start_index`\n\n**제거되는 로직:**\n- 블록 처리의 `process_eth1_data()`와 `process_operations`의 빈 예치금 assertion\n- 에포크 처리의 `process_eth1_data_reset()`\n- 정직한 검증자의 의무에 있던 Eth1 데이터 폴링과 `get_eth1_vote`\n\n두 컨테이너 모두 SSZ `ProgressiveContainer`([EIP-7688](/eip-7688/))입니다. 필드는 `active_fields`의 비트를 지우는 방식으로 \"제거\"되므로, 남은 모든 필드는 generalized index를 유지하고 이 필드들에 대한 기존 Merkle 증명도 계속 검증됩니다.\n\n## 샘플 코드\n\n변경 후의 블록 본문(consensus-spec Python). 0인 비트가 제거된 필드를 나타냅니다.\n\n```python\nclass BeaconBlockBody(\n    ProgressiveContainer(active_fields=[1] + [0] + [1] * 4 + [0] + [1] * 6)\n):\n    randao_reveal: BLSSignature\n    # removed: eth1_data\n    graffiti: Bytes32\n    proposer_slashings: ProgressiveList[ProposerSlashing]\n    attester_slashings: ProgressiveList[AttesterSlashing]\n    attestations: ProgressiveList[Attestation]\n    # removed: deposits\n    voluntary_exits: ProgressiveList[SignedVoluntaryExit]\n    sync_aggregate: SyncAggregate\n    bls_to_execution_changes: ProgressiveList[SignedBLSToExecutionChange]\n    signed_execution_payload_bid: SignedExecutionPayloadBid\n    payload_attestations: ProgressiveList[PayloadAttestation]\n    parent_execution_requests: ExecutionRequests\n```\n\n## 알아둘 점\n\n- **상태: Draft.** EIP-7688과 EIP-7773에 의존하는데, 이 둘도 아직 Review 단계입니다.\n- 스테이커에게 바뀌는 것은 없습니다. 예치금은 계속 예치금 컨트랙트로 보내고 EIP-6110을 통해 처리됩니다.\n- 과거 블록과 상태는 원래 스키마를 유지하며 계속 검증할 수 있습니다.\n- 비콘 API나 상태에서 `eth1_data` 또는 `eth1_deposit_index`를 읽는 도구는 업데이트해야 합니다.\n"},"zh":{"lang":"zh","tldr":"清理信标链：删除已不再使用的 `eth1_data` 和 `deposits` 区块字段、Eth1 投票机制以及四个状态字段，因为存款现在改由 EIP-6110 的请求传入。","tags":["consensus","deposits","cleanup","beacon-chain","ssz"],"related":[6110,7688,7773,7685],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-8015/","markdown":"## 它解决什么问题？\n\n最初，信标链是通过让区块提议者对执行链存款合约的状态（`eth1_data`）进行**投票**，再把存款本身连同 Merkle 证明放进区块，来获知新的验证者存款的。[EIP-6110](/eip-6110/) 取代了这种做法：存款现在由执行层以请求的形式传入（通过 [EIP-7685](/eip-7685/)），无需投票。\n\n过渡期间，两种机制必须并存。一旦所有旧存款都已处理完毕，旧字段就成了累赘：它们仍然存在于每个区块和信标状态中，客户端也仍要携带投票相关代码。Fulu 分叉已经要求 `body.deposits` 必须为空。EIP-8015 删除剩下的部分。\n\n## 它如何运作\n\n**激活**需要两个条件：EIP-6110 的过渡必须已经完成（`state.eth1_deposit_index == state.deposit_requests_start_index`），并且 Glamsterdam 升级（[EIP-7773](/eip-7773/)）必须已经生效。\n\n**从 `BeaconBlockBody` 中删除：**\n- `eth1_data`\n- `deposits`\n\n**从 `BeaconState` 中删除：**\n- `eth1_data`、`eth1_data_votes`、`eth1_deposit_index`、`deposit_requests_start_index`\n\n**删除的逻辑：**\n- 区块处理中的 `process_eth1_data()`，以及 `process_operations` 中\"存款为空\"的断言\n- 纪元处理中的 `process_eth1_data_reset()`\n- 诚实验证者职责中的 Eth1 数据轮询和 `get_eth1_vote`\n\n这两个容器都是 SSZ `ProgressiveContainer`（[EIP-7688](/eip-7688/)）。字段通过清除 `active_fields` 中对应的位来\"删除\"，因此其余每个字段都保持原有的广义索引，针对这些字段的现有 Merkle 证明仍然可以验证。\n\n## 示例代码\n\n变更后的区块体（consensus-spec Python）；为 0 的位标记被删除的字段：\n\n```python\nclass BeaconBlockBody(\n    ProgressiveContainer(active_fields=[1] + [0] + [1] * 4 + [0] + [1] * 6)\n):\n    randao_reveal: BLSSignature\n    # removed: eth1_data\n    graffiti: Bytes32\n    proposer_slashings: ProgressiveList[ProposerSlashing]\n    attester_slashings: ProgressiveList[AttesterSlashing]\n    attestations: ProgressiveList[Attestation]\n    # removed: deposits\n    voluntary_exits: ProgressiveList[SignedVoluntaryExit]\n    sync_aggregate: SyncAggregate\n    bls_to_execution_changes: ProgressiveList[SignedBLSToExecutionChange]\n    signed_execution_payload_bid: SignedExecutionPayloadBid\n    payload_attestations: ProgressiveList[PayloadAttestation]\n    parent_execution_requests: ExecutionRequests\n```\n\n## 需要注意\n\n- **状态：Draft。** 它依赖 EIP-7688 和 EIP-7773，而这两者本身仍处于 Review 状态。\n- 对质押者没有任何变化：存款仍然发往存款合约，并通过 EIP-6110 处理。\n- 历史区块和状态保持其原有的模式，仍然可以验证。\n- 从信标 API 或状态中读取 `eth1_data` 或 `eth1_deposit_index` 的工具需要更新。\n"}}}
