EIPs Explained

EIP-8243 · Draft · Core · 2026-05-01

EIP-8243: Batching Attestations at Source

Lets operators running several validators in the same committee gossip one pre-aggregated, consent-sealed attestation instead of one per validator, cutting attestation traffic without changing on-chain rules.

What problem does it solve?

With roughly a million active validators, each slot produces tens of thousands of individual attestations spread over 64 gossip subnets. Large operators run many validators that share one view of the chain and vote identically, yet each validator must still publish its own message. Today the protocol only accepts individual attestations from validators on these subnets, because letting anyone gossip arbitrary partial aggregates would let an attacker rebundle harvested votes into an exponential number of overlapping subsets.

To move toward shorter slots and faster finality, Ethereum needs fewer attestation messages. Balance consolidation (EIP-7251) helps but is opt-in and slow to be adopted. EIP-8243 gets a similar effect at the network layer: an operator's beacon node can batch its co-scheduled validators' votes into one message automatically.

How it works

  • The attestation subnet topic now carries a WireAttestation, an SSZ union with a 1-byte selector: 0x00 = the existing SingleAttestation, 0x01 = a new BatchAttestation.
  • A BatchAttestation has the usual fields (committee_index, aggregation_bits, data, aggregate signature) plus three gossip-only fields:
    • batcher: the validator authorized to compose the batch (must be one of its members);
    • batch_seal: an aggregate of every member's signature over (slot, committee_index, batcher) under a new domain, proving each validator consented to that batcher;
    • batcher_signature: the batcher's signature over the exact aggregation_bits.
  • Seals don't commit to the bitfield, so validators can pre-sign them at epoch start (even for a fallback batcher).
  • After gossip validation, the seal and batcher signature are dropped and the batch flows into normal aggregation. The on-chain Attestation and process_attestation are unchanged, and no new slashing conditions are added.
  • Deduplication works on votes: a message is accepted only if it carries at least one vote not yet seen for that slot, committee and data, and only the first batch from each batcher is accepted. This caps spam at about two messages per committee member.

Sample code

The gossip dedup rule, following the spec (Python pseudocode):

cache = {}  # (slot, committee_index, data_root) -> {"attesters": set(), "batchers": set()}

def on_wire_attestation(att):
    key = (att.data.slot, att.committee_index, hash_tree_root(att.data))
    c = cache.setdefault(key, {"attesters": set(), "batchers": set()})

    if att.selector == 0x00:                        # SingleAttestation
        if att.attester_index in c["attesters"]:
            return IGNORE
        c["attesters"].add(att.attester_index)
        return ACCEPT

    # BatchAttestation (signatures already verified, >= 2 members, batcher is a member)
    members = attesters_from_bits(att)
    if att.batcher in c["batchers"]:
        return IGNORE                               # one batch per batcher per duty
    if all(m in c["attesters"] for m in members):
        return IGNORE                               # nothing new
    c["batchers"].add(att.batcher)
    c["attesters"].update(members)
    return ACCEPT

Things to know

  • Status: Draft. Test cases and a reference implementation are still TODO in the spec.
  • It requires a coordinated fork: post-fork nodes expect the selector byte on the attestation topic.
  • An attacker cannot slip honest validators into a batch (no seal without their key) or reuse a stolen single attestation signature (the seal uses a different domain and message).
  • Leaked singles don't suppress a batch, and a validator without a seal for an active batcher simply falls back to a single attestation with no penalty.
  • Batches reveal which validators are run together, a privacy trade-off the spec compares to balance consolidation. The same mechanism could also let attesters route votes through another batcher for k-anonymity.
  • The spec frames batching as complementary to, not a replacement for, a future cap on active validators.

#consensus #attestations #p2p #bls #scaling

Details

Authors
Raúl Kripalani (@raulk), Toni Wahrstätter (@nerolation), Mikhail Kalinin (@mkalinin)
Status
Draft
Type
Standards Track / Core
Created
2026-05-01

Machine-readable: Markdown · JSON