---
eip: 8015
label: EIP-8015
title: Remove `deposit` and `eth1data` fields
status: Draft
type: Standards Track
category: Core
created: 2025-08-22
requires: 6110, 7688, 7773
official: https://eips.ethereum.org/EIPS/eip-8015
source: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-8015.md
canonical: https://eips.huatuo.xyz/ja/eip-8015/
lang: ja
tldr: 使われなくなった `eth1_data` と `deposits` のブロックフィールド、Eth1 投票の仕組み、4 つのステートフィールドを削除してビーコンチェーンを整理する。deposit は代わりに EIP-6110 のリクエストで届くため。
tags: [consensus, deposits, cleanup, beacon-chain, ssz]
---

# EIP-8015: Remove `deposit` and `eth1data` fields

> Remove legacy deposit and Eth1 data fields from `BeaconBlockBody` and `BeaconState` after EIP-6110 finalization

**TL;DR:** 使われなくなった `eth1_data` と `deposits` のブロックフィールド、Eth1 投票の仕組み、4 つのステートフィールドを削除してビーコンチェーンを整理する。deposit は代わりに EIP-6110 のリクエストで届くため。

## 何を解決するのか

もともとビーコンチェーンは、ブロック提案者が実行チェーンの deposit コントラクトの状態（`eth1_data`）に**投票**し、その後 deposit 自体を Merkle 証明付きでブロックに含めることで、新しいバリデータの deposit を知っていました。[EIP-6110](/eip-6110/) がこれを置き換えました。deposit は現在、投票なしで、実行レイヤーから（[EIP-7685](/eip-7685/) 経由の）リクエストとして渡されます。

移行期間中は、両方の仕組みが共存する必要がありました。従来の deposit がすべて処理されたあとは、古いフィールドは不要な荷物です。それらは今もすべてのブロックとビーコンステートに残り、クライアントは投票用のコードを抱え続けています。Fulu フォークでは既に `body.deposits` が空であることが必須になっています。EIP-8015 は残っているものを取り除きます。

## 仕組み

**有効化**には 2 つの条件が必要です。EIP-6110 の移行が完了していること（`state.eth1_deposit_index == state.deposit_requests_start_index`）と、Glamsterdam アップグレード（[EIP-7773](/eip-7773/)）が有効であることです。

**`BeaconBlockBody` から削除されるもの:**
- `eth1_data`
- `deposits`

**`BeaconState` から削除されるもの:**
- `eth1_data`、`eth1_data_votes`、`eth1_deposit_index`、`deposit_requests_start_index`

**削除されるロジック:**
- ブロック処理の `process_eth1_data()` と、`process_operations` の deposit が空であることのアサーション
- エポック処理の `process_eth1_data_reset()`
- 誠実なバリデータの職務にある Eth1 データのポーリングと `get_eth1_vote`

どちらのコンテナも SSZ の `ProgressiveContainer`（[EIP-7688](/eip-7688/)）です。フィールドは `active_fields` のビットをクリアすることで「削除」されるため、残りのすべてのフィールドは generalized index を保ち、それらのフィールドに対する既存の Merkle 証明は引き続き検証できます。

## サンプルコード

変更後のブロックボディ（consensus-spec の Python）。0 のビットが削除されたフィールドを示します。

```python
class BeaconBlockBody(
    ProgressiveContainer(active_fields=[1] + [0] + [1] * 4 + [0] + [1] * 6)
):
    randao_reveal: BLSSignature
    # removed: eth1_data
    graffiti: Bytes32
    proposer_slashings: ProgressiveList[ProposerSlashing]
    attester_slashings: ProgressiveList[AttesterSlashing]
    attestations: ProgressiveList[Attestation]
    # removed: deposits
    voluntary_exits: ProgressiveList[SignedVoluntaryExit]
    sync_aggregate: SyncAggregate
    bls_to_execution_changes: ProgressiveList[SignedBLSToExecutionChange]
    signed_execution_payload_bid: SignedExecutionPayloadBid
    payload_attestations: ProgressiveList[PayloadAttestation]
    parent_execution_requests: ExecutionRequests
```

## 知っておくべきこと

- **ステータス: Draft。** EIP-7688 と EIP-7773 に依存しており、これらもまだ Review 段階です。
- ステーカーにとって変わることはありません。deposit はこれまでどおり deposit コントラクトに対して行われ、EIP-6110 経由で処理されます。
- 過去のブロックとステートは元のスキーマを保ち、検証可能なままです。
- ビーコン API やステートから `eth1_data` や `eth1_deposit_index` を読むツールは、更新が必要になります。


---

This is an unofficial plain-language summary. Read the full specification: https://eips.ethereum.org/EIPS/eip-8015
