{"eip":6110,"title":"Supply validator deposits on chain","description":"Provides validator deposits as a list of deposit operations added to the Execution Layer block","authors":["Mikhail Kalinin (@mkalinin)","Danny Ryan (@djrtwo)","Peter Davies (@petertdavies)"],"status":"Final","type":"Standards Track","category":"Core","created":"2022-12-09","requires":[7685],"discussionsTo":"https://ethereum-magicians.org/t/eip-6110-supply-validator-deposits-on-chain/12072","repo":"EIPs","label":"EIP-6110","officialUrl":"https://eips.ethereum.org/EIPS/eip-6110","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-6110.md","url":"https://eips.huatuo.xyz/eip-6110/","tldr":{"en":"Validator deposits are read directly from deposit-contract logs in each execution block, replacing the slow, fragile Eth1Data voting and cutting deposit processing time from about 12 hours to about 13 minutes.","ja":"バリデーターのデポジットを、各実行ブロック内のデポジットコントラクトのログから直接読み取る。遅くて壊れやすい Eth1Data 投票を置き換え、デポジットの処理時間を約 12 時間から約 13 分に短縮する。","ko":"검증자 예치를 각 실행 블록 안의 예치 컨트랙트 로그에서 직접 읽는다. 느리고 취약한 Eth1Data 투표를 대체하며, 예치 처리 시간을 약 12시간에서 약 13분으로 줄인다.","zh":"验证者存款直接从每个执行区块中存款合约的日志读取，取代缓慢且脆弱的 Eth1Data 投票，把存款处理时间从约 12 小时缩短到约 13 分钟。"},"tags":["staking","validators","deposits","consensus","pectra"],"explainers":{"en":{"lang":"en","tldr":"Validator deposits are read directly from deposit-contract logs in each execution block, replacing the slow, fragile Eth1Data voting and cutting deposit processing time from about 12 hours to about 13 minutes.","tags":["staking","validators","deposits","consensus","pectra"],"related":[7685,4881,7002,7251,7600],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-6110/","markdown":"## What problem does it solve?\n\nTo become a validator you send ETH to the deposit contract on the execution layer (EL). The consensus layer (CL) then has to learn about that deposit. Before this EIP it did so through **Eth1Data voting**: block proposers polled an EL node over JSON-RPC, voted on a recent EL block hash and deposit root, and deposits were only processed after a long follow distance and a voting period.\n\nThat design had several weaknesses:\n\n- Slow: roughly 12 hours from deposit transaction to processing.\n- Brittle: proposals depended on JSON-RPC polling, which broke on client inconsistencies or syncing issues.\n- Weaker security: it relied on an honest majority of proposers voting correctly.\n- Extra machinery: deposit contract snapshots ([EIP-4881](/eip-4881/)) had to be maintained for syncing.\n\n## How it works\n\nDeposits become part of the execution block itself, delivered through the [EIP-7685](/eip-7685/) general-purpose requests mechanism (request type `0x00`).\n\n**Execution layer.** After executing a block, the client scans every receipt for logs emitted by the deposit contract (`0x00000000219ab540356cbb839cbe05303d7705fa` on mainnet) whose first topic is the `DepositEvent` signature hash. Each log must have the exact expected ABI layout (576 bytes); otherwise the block is invalid. Each deposit is encoded as:\n\n```text\npubkey (48) | withdrawal_credentials (32) | amount (8, LE) | signature (96) | index (8, LE)\n```\n\nAll deposits in the block are concatenated, in log order, into the deposit request data. The block is only valid if its requests match what the logs produce.\n\n**Consensus layer.** The beacon block's `ExecutionRequests` gains `deposit_requests`, processed by a new `process_deposit_request` function. A `deposit_requests_start_index` field in the beacon state marks where the new mechanism takes over, so no deposit is applied twice. Once the old queue catches up to that index, clients can drop Eth1Data polling.\n\n## Sample code\n\nSimplified pseudocode of how an EL client derives deposit requests (adapted from the spec):\n\n```python\nDEPOSIT_CONTRACT_ADDRESS = \"0x00000000219ab540356cbb839cbe05303d7705fa\"  # mainnet\nDEPOSIT_EVENT_SIGNATURE_HASH = \"0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5\"\n\ndef get_deposit_request_data(receipts) -\u003e bytes:\n    out = []\n    for receipt in receipts:\n        for log in receipt.logs:\n            if log.address == DEPOSIT_CONTRACT_ADDRESS and \\\n               log.topics and log.topics[0] == DEPOSIT_EVENT_SIGNATURE_HASH:\n                assert is_valid_deposit_event_data(log.data)   # exact 576-byte layout\n                pubkey, wc, amount, sig, index = parse_deposit_data(log.data)\n                out.append(pubkey + wc + amount + sig + index)  # 192 bytes\n    return b\"\".join(out)\n\n# requests entry for EIP-7685: b\"\\x00\" + get_deposit_request_data(block.receipts)\n```\n\n## Things to know\n\n- **Status: Final.** It shipped as part of the Pectra upgrade ([EIP-7600](/eip-7600/)), alongside [EIP-7002](/eip-7002/) (EL-triggered exits) and [EIP-7251](/eip-7251/) (larger max effective balance), which use the same requests framework.\n- Nothing changes for depositors: you still call the same deposit contract. The improvement is faster, safer processing.\n- Validator indices become fork-dependent: the same pubkey may get different indices on different branches of the block tree, so CL clients had to adjust their pubkey-to-index caches.\n- There is no explicit cap on deposits per block; the gas cost of each deposit bounds the number, and the spec argues the extra data and signature checks are cheap enough to be safe.\n"},"ja":{"lang":"ja","tldr":"バリデーターのデポジットを、各実行ブロック内のデポジットコントラクトのログから直接読み取る。遅くて壊れやすい Eth1Data 投票を置き換え、デポジットの処理時間を約 12 時間から約 13 分に短縮する。","tags":["staking","validators","deposits","consensus","pectra"],"related":[7685,4881,7002,7251,7600],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-6110/","markdown":"## 何を解決するのか\n\nバリデーターになるには、実行レイヤー（EL）のデポジットコントラクトに ETH を送ります。その後、コンセンサスレイヤー（CL）がそのデポジットを知る必要があります。この EIP 以前は **Eth1Data 投票**で行われていました。ブロックの提案者が JSON-RPC で EL ノードをポーリングし、最近の EL ブロックハッシュとデポジットルートに投票し、デポジットは長いフォロー距離と投票期間を経てからようやく処理されていました。\n\nこの設計にはいくつかの弱点がありました。\n\n- 遅い: デポジットのトランザクションから処理まで約 12 時間。\n- 壊れやすい: 提案が JSON-RPC のポーリングに依存しており、クライアントの不整合や同期の問題で壊れた。\n- セキュリティが弱い: 提案者の過半数が正直に正しく投票することに依存していた。\n- 余計な仕組み: 同期のために、デポジットコントラクトのスナップショット（[EIP-4881](/eip-4881/)）を維持する必要があった。\n\n## 仕組み\n\nデポジットは実行ブロック自体の一部になり、[EIP-7685](/eip-7685/) の汎用リクエスト機構（リクエストタイプ `0x00`）を通じて配信されます。\n\n**実行レイヤー。** ブロックを実行した後、クライアントはすべてのレシートを走査し、デポジットコントラクト（メインネットでは `0x00000000219ab540356cbb839cbe05303d7705fa`）が発行したログのうち、最初のトピックが `DepositEvent` のシグネチャハッシュであるものを探します。各ログは期待される ABI レイアウト（576 バイト）と正確に一致しなければならず、そうでなければブロックは無効です。各デポジットは次のようにエンコードされます。\n\n```text\npubkey (48) | withdrawal_credentials (32) | amount (8, LE) | signature (96) | index (8, LE)\n```\n\nブロック内のすべてのデポジットは、ログの順にデポジットリクエストデータへ連結されます。ブロックは、そのリクエストがログから生成されるものと一致する場合にのみ有効です。\n\n**コンセンサスレイヤー。** ビーコンブロックの `ExecutionRequests` に `deposit_requests` が加わり、新しい `process_deposit_request` 関数で処理されます。ビーコンステートの `deposit_requests_start_index` フィールドが、新しい仕組みが引き継ぐ位置を示すため、デポジットが二重に適用されることはありません。古いキューがそのインデックスに追いついたら、クライアントは Eth1Data のポーリングをやめられます。\n\n## サンプルコード\n\nEL クライアントがデポジットリクエストを導出する方法の簡略化した疑似コード（仕様から改変）:\n\n```python\nDEPOSIT_CONTRACT_ADDRESS = \"0x00000000219ab540356cbb839cbe05303d7705fa\"  # mainnet\nDEPOSIT_EVENT_SIGNATURE_HASH = \"0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5\"\n\ndef get_deposit_request_data(receipts) -\u003e bytes:\n    out = []\n    for receipt in receipts:\n        for log in receipt.logs:\n            if log.address == DEPOSIT_CONTRACT_ADDRESS and \\\n               log.topics and log.topics[0] == DEPOSIT_EVENT_SIGNATURE_HASH:\n                assert is_valid_deposit_event_data(log.data)   # exact 576-byte layout\n                pubkey, wc, amount, sig, index = parse_deposit_data(log.data)\n                out.append(pubkey + wc + amount + sig + index)  # 192 bytes\n    return b\"\".join(out)\n\n# requests entry for EIP-7685: b\"\\x00\" + get_deposit_request_data(block.receipts)\n```\n\n## 知っておくべきこと\n\n- **ステータス: Final。** Pectra アップグレード（[EIP-7600](/eip-7600/)）の一部として出荷されました。同じリクエストの枠組みを使う [EIP-7002](/eip-7002/)（EL から起動する退出）および [EIP-7251](/eip-7251/)（より大きな最大有効残高）と一緒です。\n- デポジットする側には何も変わりません。引き続き同じデポジットコントラクトを呼び出します。改善されたのは、より速く安全な処理です。\n- バリデーターのインデックスはフォークに依存するようになります。同じ公開鍵が、ブロックツリーの異なる枝で異なるインデックスを得る可能性があるため、CL クライアントは公開鍵からインデックスへのキャッシュを調整する必要がありました。\n- ブロックあたりのデポジット数に明示的な上限はありません。各デポジットのガスコストが数を制限しており、仕様は、追加のデータと署名チェックは安全といえるほど安価だと論じています。\n"},"ko":{"lang":"ko","tldr":"검증자 예치를 각 실행 블록 안의 예치 컨트랙트 로그에서 직접 읽는다. 느리고 취약한 Eth1Data 투표를 대체하며, 예치 처리 시간을 약 12시간에서 약 13분으로 줄인다.","tags":["staking","validators","deposits","consensus","pectra"],"related":[7685,4881,7002,7251,7600],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-6110/","markdown":"## 어떤 문제를 해결하나요?\n\n검증자가 되려면 실행 레이어(EL)의 예치 컨트랙트에 ETH를 보냅니다. 그러면 합의 레이어(CL)가 그 예치를 알아야 합니다. 이 EIP 이전에는 **Eth1Data 투표**로 이를 처리했습니다. 블록 제안자가 JSON-RPC로 EL 노드를 폴링하고, 최근 EL 블록 해시와 예치 루트에 투표했으며, 예치는 긴 팔로우 거리와 투표 기간을 거친 뒤에야 처리되었습니다.\n\n이 설계에는 몇 가지 약점이 있었습니다.\n\n- 느림: 예치 트랜잭션부터 처리까지 약 12시간.\n- 취약함: 제안이 JSON-RPC 폴링에 의존해서 클라이언트 불일치나 동기화 문제로 깨졌습니다.\n- 약한 보안: 제안자 다수가 정직하게 올바르게 투표한다는 가정에 의존했습니다.\n- 추가 장치: 동기화를 위해 예치 컨트랙트 스냅샷([EIP-4881](/eip-4881/))을 유지해야 했습니다.\n\n## 어떻게 동작하나요?\n\n예치는 실행 블록 자체의 일부가 되며, [EIP-7685](/eip-7685/)의 범용 요청 메커니즘(요청 타입 `0x00`)을 통해 전달됩니다.\n\n**실행 레이어.** 블록을 실행한 뒤 클라이언트는 모든 영수증을 훑어 예치 컨트랙트(메인넷에서는 `0x00000000219ab540356cbb839cbe05303d7705fa`)가 발생시킨 로그 중 첫 번째 토픽이 `DepositEvent` 시그니처 해시인 것을 찾습니다. 각 로그는 기대하는 ABI 레이아웃(576바이트)과 정확히 일치해야 하며, 그렇지 않으면 블록은 무효입니다. 각 예치는 다음과 같이 인코딩됩니다.\n\n```text\npubkey (48) | withdrawal_credentials (32) | amount (8, LE) | signature (96) | index (8, LE)\n```\n\n블록의 모든 예치는 로그 순서대로 이어 붙여져 예치 요청 데이터가 됩니다. 블록은 그 요청이 로그에서 만들어지는 것과 일치할 때만 유효합니다.\n\n**합의 레이어.** 비콘 블록의 `ExecutionRequests`에 `deposit_requests`가 추가되고, 새로운 `process_deposit_request` 함수가 이를 처리합니다. 비콘 상태의 `deposit_requests_start_index` 필드가 새로운 메커니즘이 인계받는 지점을 표시하므로 예치가 두 번 적용되지 않습니다. 이전 큐가 그 인덱스를 따라잡으면 클라이언트는 Eth1Data 폴링을 버릴 수 있습니다.\n\n## 샘플 코드\n\nEL 클라이언트가 예치 요청을 도출하는 방식의 단순화된 의사 코드(명세에서 발췌 및 수정):\n\n```python\nDEPOSIT_CONTRACT_ADDRESS = \"0x00000000219ab540356cbb839cbe05303d7705fa\"  # mainnet\nDEPOSIT_EVENT_SIGNATURE_HASH = \"0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5\"\n\ndef get_deposit_request_data(receipts) -\u003e bytes:\n    out = []\n    for receipt in receipts:\n        for log in receipt.logs:\n            if log.address == DEPOSIT_CONTRACT_ADDRESS and \\\n               log.topics and log.topics[0] == DEPOSIT_EVENT_SIGNATURE_HASH:\n                assert is_valid_deposit_event_data(log.data)   # exact 576-byte layout\n                pubkey, wc, amount, sig, index = parse_deposit_data(log.data)\n                out.append(pubkey + wc + amount + sig + index)  # 192 bytes\n    return b\"\".join(out)\n\n# requests entry for EIP-7685: b\"\\x00\" + get_deposit_request_data(block.receipts)\n```\n\n## 알아둘 점\n\n- **상태: Final.** Pectra 업그레이드([EIP-7600](/eip-7600/))의 일부로 출시되었습니다. 같은 요청 프레임워크를 사용하는 [EIP-7002](/eip-7002/)(EL이 트리거하는 퇴출) 및 [EIP-7251](/eip-7251/)(더 큰 최대 유효 잔액)과 함께입니다.\n- 예치하는 사람에게는 달라지는 것이 없습니다. 여전히 같은 예치 컨트랙트를 호출합니다. 개선되는 것은 더 빠르고 안전한 처리입니다.\n- 검증자 인덱스가 포크에 의존하게 됩니다. 같은 공개 키가 블록 트리의 다른 가지에서 다른 인덱스를 받을 수 있으므로 CL 클라이언트는 공개 키에서 인덱스로의 캐시를 조정해야 했습니다.\n- 블록당 예치 수에 명시적인 상한은 없습니다. 각 예치의 가스 비용이 그 수를 제한하며, 명세는 추가 데이터와 서명 검사가 안전하다고 할 만큼 저렴하다고 주장합니다.\n"},"zh":{"lang":"zh","tldr":"验证者存款直接从每个执行区块中存款合约的日志读取，取代缓慢且脆弱的 Eth1Data 投票，把存款处理时间从约 12 小时缩短到约 13 分钟。","tags":["staking","validators","deposits","consensus","pectra"],"related":[7685,4881,7002,7251,7600],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-6110/","markdown":"## 它解决什么问题？\n\n要成为验证者，需要把 ETH 发送到执行层（EL）上的存款合约。之后共识层（CL）必须得知这笔存款。在这个 EIP 之前，它是通过 **Eth1Data 投票**完成的：区块提议者通过 JSON-RPC 轮询 EL 节点，对最近的 EL 区块哈希和存款根进行投票，存款要经过很长的跟随距离和投票期之后才会被处理。\n\n这种设计有几个弱点：\n\n- 慢：从存款交易到被处理大约 12 小时。\n- 脆弱：提议依赖 JSON-RPC 轮询，会因客户端不一致或同步问题而出错。\n- 安全性较弱：依赖于提议者中的诚实多数正确投票。\n- 额外机制：为了同步，必须维护存款合约快照（[EIP-4881](/eip-4881/)）。\n\n## 它如何运作\n\n存款成为执行区块本身的一部分，通过 [EIP-7685](/eip-7685/) 的通用请求机制（请求类型 `0x00`）传递。\n\n**执行层。** 执行完区块后，客户端扫描每个回执中由存款合约（主网为 `0x00000000219ab540356cbb839cbe05303d7705fa`）触发的、第一个 topic 为 `DepositEvent` 签名哈希的日志。每条日志必须具有完全符合预期的 ABI 布局（576 字节），否则区块无效。每笔存款编码为：\n\n```text\npubkey (48) | withdrawal_credentials (32) | amount (8, LE) | signature (96) | index (8, LE)\n```\n\n区块中的所有存款按日志顺序拼接成存款请求数据。只有当区块的请求与日志产生的内容一致时，区块才有效。\n\n**共识层。** 信标区块的 `ExecutionRequests` 新增 `deposit_requests`，由新的 `process_deposit_request` 函数处理。信标状态中的 `deposit_requests_start_index` 字段标记新机制接管的位置，因此不会重复应用任何存款。一旦旧队列追上该索引，客户端就可以放弃 Eth1Data 轮询。\n\n## 示例代码\n\nEL 客户端如何推导存款请求的简化伪代码（改编自规范）：\n\n```python\nDEPOSIT_CONTRACT_ADDRESS = \"0x00000000219ab540356cbb839cbe05303d7705fa\"  # mainnet\nDEPOSIT_EVENT_SIGNATURE_HASH = \"0x649bbc62d0e31342afea4e5cd82d4049e7e1ee912fc0889aa790803be39038c5\"\n\ndef get_deposit_request_data(receipts) -\u003e bytes:\n    out = []\n    for receipt in receipts:\n        for log in receipt.logs:\n            if log.address == DEPOSIT_CONTRACT_ADDRESS and \\\n               log.topics and log.topics[0] == DEPOSIT_EVENT_SIGNATURE_HASH:\n                assert is_valid_deposit_event_data(log.data)   # exact 576-byte layout\n                pubkey, wc, amount, sig, index = parse_deposit_data(log.data)\n                out.append(pubkey + wc + amount + sig + index)  # 192 bytes\n    return b\"\".join(out)\n\n# requests entry for EIP-7685: b\"\\x00\" + get_deposit_request_data(block.receipts)\n```\n\n## 需要注意\n\n- **状态：Final。** 它作为 Pectra 升级（[EIP-7600](/eip-7600/)）的一部分上线，同时上线的还有使用同一请求框架的 [EIP-7002](/eip-7002/)（由 EL 触发的退出）和 [EIP-7251](/eip-7251/)（更大的最大有效余额）。\n- 对存款人来说没有任何变化：你仍然调用同一个存款合约。改进之处在于处理更快、更安全。\n- 验证者索引变得依赖分叉：同一个公钥在区块树的不同分支上可能得到不同的索引，因此 CL 客户端必须调整其公钥到索引的缓存。\n- 每个区块的存款数量没有明确上限；每笔存款的 gas 成本限制了数量，规范认为额外的数据和签名检查足够便宜，因而是安全的。\n"}},"requiredBy":[7600,8015,8025,8205,8222,8254,8365]}
