---
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/ko/eip-8015/
lang: ko
tldr: 더 이상 쓰이지 않는 `eth1_data`와 `deposits` 블록 필드, Eth1 투표 장치, 상태 필드 네 개를 삭제해 비콘 체인을 정리한다. 예치금은 이제 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 투표 장치, 상태 필드 네 개를 삭제해 비콘 체인을 정리한다. 예치금은 이제 EIP-6110 요청으로 전달되기 때문이다.

## 어떤 문제를 해결하나요?

원래 비콘 체인은 블록 제안자가 실행 체인의 예치금 컨트랙트 상태(`eth1_data`)에 **투표**하고, 그다음 예치금 자체를 Merkle 증명과 함께 블록에 포함시키는 방식으로 새 검증자의 예치금을 알았습니다. [EIP-6110](/eip-6110/)이 이를 대체했습니다. 이제 예치금은 투표 없이 실행 계층에서 요청([EIP-7685](/eip-7685/) 경유)으로 전달됩니다.

전환 기간에는 두 방식이 공존해야 했습니다. 기존 예치금이 모두 처리되고 나면 옛 필드는 쓸모없는 짐입니다. 모든 블록과 비콘 상태에 여전히 남아 있고, 클라이언트도 투표 코드를 계속 가지고 있습니다. Fulu 포크는 이미 `body.deposits`가 비어 있도록 요구했습니다. EIP-8015는 남은 것을 제거합니다.

## 어떻게 동작하나요?

**활성화**에는 두 가지가 필요합니다. 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`의 빈 예치금 assertion
- 에포크 처리의 `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 단계입니다.
- 스테이커에게 바뀌는 것은 없습니다. 예치금은 계속 예치금 컨트랙트로 보내고 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
