EIPs Explained

EIP-8015 · Draft · Core · 2025-08-22

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

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.

What problem does it solve?

Originally 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 replaced this: deposits are now passed from the execution layer as requests (via EIP-7685), with no voting.

During 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.

How it works

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) must be in effect.

Removed from BeaconBlockBody:

  • eth1_data
  • deposits

Removed from BeaconState:

  • eth1_data, eth1_data_votes, eth1_deposit_index, deposit_requests_start_index

Removed logic:

  • process_eth1_data() from block processing and the empty-deposits assertion in process_operations
  • process_eth1_data_reset() from epoch processing
  • Eth1 data polling and get_eth1_vote from the honest-validator duties

Both containers are SSZ ProgressiveContainers (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.

Sample code

The block body after the change (consensus-spec Python); the zero bits mark removed fields:

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

Things to know

  • Status: Draft. It depends on EIP-7688 and EIP-7773, which are themselves still in Review.
  • Nothing changes for stakers: deposits continue to be made to the deposit contract and processed through EIP-6110.
  • Historical blocks and states keep their original schemas and remain verifiable.
  • Tools that read eth1_data or eth1_deposit_index from the beacon API or state will need updating.

#consensus #deposits #cleanup #beacon-chain #ssz

Details

Authors
Terence (@terencechain), Etan Kissling (@etan-status)
Status
Draft
Type
Standards Track / Core
Created
2025-08-22
Requires

Machine-readable: Markdown · JSON