{"eip":7549,"title":"Move committee index outside Attestation","description":"Move committee index outside of the signed Attestation message","authors":["dapplion (@dapplion)","Mikhail Kalinin (@mkalinin)"],"status":"Final","type":"Standards Track","category":"Core","created":"2023-11-01","discussionsTo":"https://ethereum-magicians.org/t/eip-7549-move-committee-index-outside-attestation/16390","repo":"EIPs","label":"EIP-7549","officialUrl":"https://eips.ethereum.org/EIPS/eip-7549","sourceUrl":"https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7549.md","url":"https://eips.huatuo.xyz/eip-7549/","tldr":{"en":"Took the committee index out of the signed attestation data so that identical votes from different committees can be aggregated into one signature, cutting verification work and packing more votes into each beacon block (shipped in Pectra).","ja":"署名される attestation データから committee index を取り除き、異なる committee からの同一の投票を 1 つの署名に集約できるようにした。検証作業が減り、各 beacon ブロックにより多くの投票を詰め込めるようになった（Pectra で導入）。","ko":"서명되는 attestation 데이터에서 committee index를 빼서, 서로 다른 committee의 동일한 투표를 하나의 서명으로 집계할 수 있게 했다. 검증 작업을 줄이고 비콘 블록마다 더 많은 투표를 담을 수 있다(Pectra에서 반영).","zh":"把委员会索引（committee index）从已签名的 attestation 数据中移除，使不同委员会中相同的投票可以聚合为一个签名，减少验证工作量，并让每个信标区块容纳更多投票（已随 Pectra 上线）。"},"tags":["consensus","attestations","beacon-chain","bls","pectra"],"explainers":{"en":{"lang":"en","tldr":"Took the committee index out of the signed attestation data so that identical votes from different committees can be aggregated into one signature, cutting verification work and packing more votes into each beacon block (shipped in Pectra).","tags":["consensus","attestations","beacon-chain","bls","pectra"],"related":[7600,7251,7495],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/eip-7549/","markdown":"## What problem does it solve?\n\nEvery slot, validators are split into up to 64 committees, and each validator signs an attestation with two votes: an LMD-GHOST vote for the head block and a Casper FFG vote for `(source, target)` checkpoints. Before this change the signed `AttestationData` also contained the committee `index`.\n\nThat extra field meant that validators voting for exactly the same thing in different committees produced different messages, so their BLS signatures could not be aggregated together. Reaching a 2/3 supermajority required checking at least about 1,366 aggregates per epoch on a large network. Moving `index` out of the signed data cuts that to about 22, a 62× reduction. That matters most for light clients and ZK circuits proving Ethereum consensus, where each signature pairing is expensive.\n\nIt also lets blocks carry votes more compactly: a block can now hold up to 8 slots' worth of votes instead of 2.\n\n## How it works\n\nConsensus-layer only; no execution-layer changes.\n\n- `AttestationData.index` is kept but must be `0`. Keeping the field (rather than removing it) avoids complicating `AttesterSlashing`, whose indexed attestations carry no committee data.\n- The outer `Attestation` container gains `committee_bits`, a `Bitvector[64]` flagging which committees the aggregate covers.\n- `aggregation_bits` grows to cover the members of all committees in the slot.\n- Because each attestation can now be up to 64× larger, `MAX_ATTESTATIONS` per block was lowered to 8 and `MAX_ATTESTER_SLASHINGS` from 2 to 1 to bound block size.\n\nThe full rules live in the Electra consensus specs.\n\n## Sample code\n\nSimplified SSZ containers after the change (Python-style spec notation):\n\n```python\nclass AttestationData(Container):\n    slot: Slot\n    index: CommitteeIndex          # now always 0\n    beacon_block_root: Root        # LMD-GHOST vote\n    source: Checkpoint             # FFG vote\n    target: Checkpoint\n\nclass Attestation(Container):\n    aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT]\n    data: AttestationData\n    signature: BLSSignature\n    committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT]   # new: which committees are included\n\ndef get_committee_indices(committee_bits) -\u003e Sequence[CommitteeIndex]:\n    return [CommitteeIndex(i) for i, bit in enumerate(committee_bits) if bit]\n```\n\n## Things to know\n\n- Status: Final. Activated on mainnet as part of the Pectra upgrade ([EIP-7600](/eip-7600/)).\n- `committee_bits` is a fixed-size `Bitvector` rather than a `Bitlist` because the length prefix of a `Bitlist` would roughly double its size.\n- The first block after the fork may contain no attestations, since pre-fork attestations do not fit the new container. The spec accepts this small one-time loss instead of adding complexity.\n- Because `index` is no longer signed, it could be tampered with on the gossip subnet topic; gossip validation rejects attestations whose attester is not in the claimed committee, so a mutated message is dropped.\n- Tooling that parses attestations (block explorers, staking dashboards, slashers) had to be updated for the new layout.\n"},"ja":{"lang":"ja","tldr":"署名される attestation データから committee index を取り除き、異なる committee からの同一の投票を 1 つの署名に集約できるようにした。検証作業が減り、各 beacon ブロックにより多くの投票を詰め込めるようになった（Pectra で導入）。","tags":["consensus","attestations","beacon-chain","bls","pectra"],"related":[7600,7251,7495],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ja/eip-7549/","markdown":"## 何を解決するのか\n\nスロットごとに、バリデーターは最大 64 の committee に分割され、各バリデーターは 2 つの投票を含む attestation に署名します。ヘッドブロックに対する LMD-GHOST 投票と、`(source, target)` チェックポイントに対する Casper FFG 投票です。この変更の前は、署名される `AttestationData` に committee の `index` も含まれていました。\n\nこの余分なフィールドのせいで、異なる committee で全く同じ内容に投票したバリデーターでも異なるメッセージが生成され、BLS 署名を一緒に集約できませんでした。2/3 のスーパーマジョリティに達するには、大規模なネットワークでエポックあたり少なくとも約 1,366 個の集約を確認する必要がありました。`index` を署名対象データの外に出すことで、これが約 22 に減り、62 分の 1 になります。Ethereum のコンセンサスを証明するライトクライアントや ZK 回路では、署名ペアリングのたびにコストが大きいため、特に重要です。\n\nまた、ブロックに投票をよりコンパクトに載せられるようになりました。ブロックが保持できる投票は、2 スロット分から最大 8 スロット分になりました。\n\n## 仕組み\n\nコンセンサスレイヤーのみで、実行レイヤーの変更はありません。\n\n- `AttestationData.index` は残りますが、`0` でなければなりません。フィールドを削除せず残すことで、committee データを持たない indexed attestation を含む `AttesterSlashing` が複雑にならずに済みます。\n- 外側の `Attestation` コンテナに `committee_bits`（`Bitvector[64]`）が追加され、集約がどの committee を対象とするかを示します。\n- `aggregation_bits` は、そのスロットのすべての committee のメンバーをカバーするよう拡大されます。\n- 各 attestation が最大 64 倍大きくなりうるため、ブロックサイズを抑えるために、ブロックあたりの `MAX_ATTESTATIONS` は 8 に、`MAX_ATTESTER_SLASHINGS` は 2 から 1 に引き下げられました。\n\n詳細なルールは Electra のコンセンサス仕様にあります。\n\n## サンプルコード\n\n変更後の簡略化した SSZ コンテナ（Python 風の仕様記法）:\n\n```python\nclass AttestationData(Container):\n    slot: Slot\n    index: CommitteeIndex          # now always 0\n    beacon_block_root: Root        # LMD-GHOST vote\n    source: Checkpoint             # FFG vote\n    target: Checkpoint\n\nclass Attestation(Container):\n    aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT]\n    data: AttestationData\n    signature: BLSSignature\n    committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT]   # new: which committees are included\n\ndef get_committee_indices(committee_bits) -\u003e Sequence[CommitteeIndex]:\n    return [CommitteeIndex(i) for i, bit in enumerate(committee_bits) if bit]\n```\n\n## 知っておくべきこと\n\n- ステータス: Final。Pectra アップグレード（[EIP-7600](/eip-7600/)）の一部としてメインネットで有効化されました。\n- `committee_bits` が `Bitlist` ではなく固定サイズの `Bitvector` なのは、`Bitlist` の長さプレフィックスによってサイズがほぼ倍になってしまうためです。\n- フォーク後の最初のブロックには attestation が含まれないことがあります。フォーク前の attestation は新しいコンテナに収まらないためです。仕様は、複雑さを増やす代わりに、この一度限りの小さな損失を受け入れています。\n- `index` はもう署名されないため、gossip サブネットのトピック上で改ざんされる可能性があります。gossip の検証は、attester が主張された committee に属していない attestation を拒否するため、改変されたメッセージは破棄されます。\n- attestation を解析するツール（ブロックエクスプローラー、ステーキングのダッシュボード、slasher）は、新しいレイアウトに合わせて更新する必要がありました。\n"},"ko":{"lang":"ko","tldr":"서명되는 attestation 데이터에서 committee index를 빼서, 서로 다른 committee의 동일한 투표를 하나의 서명으로 집계할 수 있게 했다. 검증 작업을 줄이고 비콘 블록마다 더 많은 투표를 담을 수 있다(Pectra에서 반영).","tags":["consensus","attestations","beacon-chain","bls","pectra"],"related":[7600,7251,7495],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/ko/eip-7549/","markdown":"## 어떤 문제를 해결하나요?\n\n슬롯마다 검증자는 최대 64개의 committee로 나뉘며, 각 검증자는 두 가지 투표가 담긴 attestation에 서명합니다. 헤드 블록에 대한 LMD-GHOST 투표와 `(source, target)` 체크포인트에 대한 Casper FFG 투표입니다. 이 변경 전에는 서명되는 `AttestationData`에 committee `index`도 들어 있었습니다.\n\n이 추가 필드 때문에, 서로 다른 committee에서 정확히 같은 내용에 투표한 검증자들도 서로 다른 메시지를 만들어 BLS 서명을 함께 집계할 수 없었습니다. 2/3 압도적 다수에 도달하려면 큰 네트워크에서 에폭당 최소 약 1,366개의 집계를 확인해야 했습니다. `index`를 서명 데이터 밖으로 옮기면 이것이 약 22개로 줄어 62배 감소합니다. 이더리움 합의를 증명하는 라이트 클라이언트와 ZK 회로에서는 서명 페어링마다 비용이 크기 때문에 특히 중요합니다.\n\n또한 블록이 투표를 더 간결하게 담을 수 있게 됩니다. 이제 블록은 2개 슬롯 분량 대신 최대 8개 슬롯 분량의 투표를 담을 수 있습니다.\n\n## 어떻게 동작하나요?\n\n합의 계층만 해당하며 실행 계층 변경은 없습니다.\n\n- `AttestationData.index`는 유지되지만 반드시 `0`이어야 합니다. 필드를 제거하는 대신 유지하면, committee 데이터가 없는 indexed attestation을 담는 `AttesterSlashing`이 복잡해지는 것을 피할 수 있습니다.\n- 바깥쪽 `Attestation` 컨테이너에 `committee_bits`(`Bitvector[64]`)가 추가되어, 집계가 어떤 committee를 포함하는지 표시합니다.\n- `aggregation_bits`는 해당 슬롯의 모든 committee 구성원을 포함하도록 커집니다.\n- 이제 attestation 하나가 최대 64배까지 커질 수 있으므로, 블록 크기를 제한하기 위해 블록당 `MAX_ATTESTATIONS`는 8로, `MAX_ATTESTER_SLASHINGS`는 2에서 1로 낮아졌습니다.\n\n전체 규칙은 Electra 합의 명세에 있습니다.\n\n## 샘플 코드\n\n변경 후의 단순화한 SSZ 컨테이너(Python 스타일 명세 표기):\n\n```python\nclass AttestationData(Container):\n    slot: Slot\n    index: CommitteeIndex          # now always 0\n    beacon_block_root: Root        # LMD-GHOST vote\n    source: Checkpoint             # FFG vote\n    target: Checkpoint\n\nclass Attestation(Container):\n    aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT]\n    data: AttestationData\n    signature: BLSSignature\n    committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT]   # new: which committees are included\n\ndef get_committee_indices(committee_bits) -\u003e Sequence[CommitteeIndex]:\n    return [CommitteeIndex(i) for i, bit in enumerate(committee_bits) if bit]\n```\n\n## 알아둘 점\n\n- 상태: Final. Pectra 업그레이드([EIP-7600](/eip-7600/))의 일부로 메인넷에서 활성화되었습니다.\n- `committee_bits`가 `Bitlist`가 아니라 고정 크기 `Bitvector`인 이유는, `Bitlist`의 길이 접두사 때문에 크기가 대략 두 배가 되기 때문입니다.\n- 포크 이후 첫 블록에는 attestation이 하나도 없을 수 있습니다. 포크 이전 attestation은 새 컨테이너에 맞지 않기 때문입니다. 명세는 복잡성을 더하는 대신 이 일회성의 작은 손실을 받아들입니다.\n- `index`가 더 이상 서명되지 않으므로 gossip 서브넷 토픽에서 변조될 수 있습니다. gossip 검증은 attester가 주장된 committee에 속하지 않는 attestation을 거부하므로, 변조된 메시지는 버려집니다.\n- attestation을 파싱하는 도구(블록 탐색기, 스테이킹 대시보드, slasher)는 새 레이아웃에 맞게 업데이트해야 했습니다.\n"},"zh":{"lang":"zh","tldr":"把委员会索引（committee index）从已签名的 attestation 数据中移除，使不同委员会中相同的投票可以聚合为一个签名，减少验证工作量，并让每个信标区块容纳更多投票（已随 Pectra 上线）。","tags":["consensus","attestations","beacon-chain","bls","pectra"],"related":[7600,7251,7495],"updated":"2026-10-19","url":"https://eips.huatuo.xyz/zh/eip-7549/","markdown":"## 它解决什么问题？\n\n每个 slot，验证者会被分成最多 64 个委员会，每个验证者签署一份包含两票的 attestation：对头部区块的 LMD-GHOST 投票，以及对 `(source, target)` 检查点的 Casper FFG 投票。在这次变更之前，被签名的 `AttestationData` 还包含委员会的 `index`。\n\n这个多出来的字段意味着，在不同委员会中投票内容完全相同的验证者会产生不同的消息，因此它们的 BLS 签名无法聚合到一起。要达到 2/3 的超级多数，在大型网络上每个 epoch 至少需要检查约 1,366 个聚合。把 `index` 移出被签名的数据后，这个数字降到约 22，减少了 62 倍。这对证明以太坊共识的轻客户端和 ZK 电路尤为重要，因为它们的每次签名配对都很昂贵。\n\n它还让区块可以更紧凑地携带投票：一个区块现在最多可以容纳 8 个 slot 的投票，而不是 2 个。\n\n## 它如何运作\n\n仅涉及共识层，不改动执行层。\n\n- `AttestationData.index` 被保留，但必须为 `0`。保留该字段（而不是删除）可以避免让 `AttesterSlashing` 变得复杂，因为其 indexed attestation 不带委员会数据。\n- 外层的 `Attestation` 容器新增 `committee_bits`，一个 `Bitvector[64]`，标记该聚合涵盖哪些委员会。\n- `aggregation_bits` 扩大，以涵盖该 slot 所有委员会的成员。\n- 由于每个 attestation 现在可能大至原来的 64 倍，每个区块的 `MAX_ATTESTATIONS` 被降为 8，`MAX_ATTESTER_SLASHINGS` 从 2 降为 1，以限制区块大小。\n\n完整规则见 Electra 共识规范。\n\n## 示例代码\n\n变更后的简化 SSZ 容器（Python 风格的规范记法）：\n\n```python\nclass AttestationData(Container):\n    slot: Slot\n    index: CommitteeIndex          # now always 0\n    beacon_block_root: Root        # LMD-GHOST vote\n    source: Checkpoint             # FFG vote\n    target: Checkpoint\n\nclass Attestation(Container):\n    aggregation_bits: Bitlist[MAX_VALIDATORS_PER_COMMITTEE * MAX_COMMITTEES_PER_SLOT]\n    data: AttestationData\n    signature: BLSSignature\n    committee_bits: Bitvector[MAX_COMMITTEES_PER_SLOT]   # new: which committees are included\n\ndef get_committee_indices(committee_bits) -\u003e Sequence[CommitteeIndex]:\n    return [CommitteeIndex(i) for i, bit in enumerate(committee_bits) if bit]\n```\n\n## 需要注意\n\n- 状态：Final。已作为 Pectra 升级（[EIP-7600](/eip-7600/)）的一部分在主网激活。\n- `committee_bits` 是固定大小的 `Bitvector` 而不是 `Bitlist`，因为 `Bitlist` 的长度前缀会使其大小大约翻倍。\n- 分叉后的第一个区块可能不包含任何 attestation，因为分叉前的 attestation 无法放入新的容器。规范接受这一次性的小损失，而不是增加复杂度。\n- 由于 `index` 不再被签名，它在 gossip 子网主题上可能被篡改；gossip 验证会拒绝 attester 不在所声称委员会中的 attestation，因此被篡改的消息会被丢弃。\n- 解析 attestation 的工具（区块浏览器、质押仪表盘、slasher）必须针对新的布局进行更新。\n"}},"requiredBy":[7600]}
