EIPs Explained

EIP-7732 · Last Call · Core · 2024-06-28

EIP-7732: Enshrined Proposer-Builder Separation

Enshrined proposer-builder separation (ePBS): beacon blocks carry only a builder's signed bid, the builder reveals the execution payload later, and a committee attests it arrived on time, making the proposer-builder trade trustless.

What problem does it solve?

Almost every Ethereum validator outsources building the execution payload to a specialised builder. Today this happens through trusted relays: the proposer signs a "blinded" block and trusts the relay to swap in the builder's full payload and to make sure the builder pays. Neither side has protocol-level guarantees.

The current design also packs everything onto the critical path: within about 4 seconds of a block arriving, validators must run both the consensus and execution state transitions and check blob availability before attesting.

EIP-7732 moves the proposer-builder exchange into the protocol and splits a slot's work into two steps, so validation is spread over the slot.

How it works

  • Builders become staked, in-protocol entities. They register on the beacon chain with a new withdrawal-credential prefix (0x03), outside the normal validator churn, and can stake as little as 1 ETH.
  • The beacon block no longer contains the execution payload. Instead it includes a SignedExecutionPayloadBid: the builder's commitment to a specific block hash and a value to pay the proposer. The payment is deducted from the builder's beacon-chain balance and later withdrawn to an address the proposer chooses.
  • The builder reveals the payload afterwards in a SignedExecutionPayloadEnvelope, which also commits to the resulting beacon state root.
  • A Payload Timeliness Committee (PTC) of 512 validators per slot attests whether the payload was revealed on time and whether its blob data was available. PTC members do basic checks only; full execution validation is deferred until the next block.
  • Fork choice understands three outcomes: Full (block and payload), Empty (block but no payload) and Skipped. Attestations use the previously unused index field to signal payload presence.

These rules give the honest proposer unconditional payment (paid even if the builder withholds), the honest builder reveal safety (a timely payload becomes canonical), and withhold safety (not charged if the proposer's block was itself late).

Deposit, withdrawal and consolidation requests are now processed when the payload is processed. Withdrawals are deducted on the consensus side first and the next payload must honour them. The execution layer and Engine API need no changes.

Sample code

The bid that replaces the payload in the beacon block (SSZ containers, abridged from the spec):

class ExecutionPayloadBid(Container):
    parent_block_hash: Hash32
    parent_block_root: Root
    block_hash: Hash32            # payload the builder commits to reveal
    prev_randao: Bytes32
    fee_recipient: ExecutionAddress
    gas_limit: uint64
    builder_index: BuilderIndex   # UINT64_MAX means the proposer built it
    slot: Slot
    value: Gwei                   # paid to the proposer from builder stake
    execution_payment: Gwei
    blob_kzg_commitments: List[KZGCommitment, MAX_BLOB_COMMITMENTS_PER_BLOCK]

class PayloadAttestationData(Container):
    beacon_block_root: Root
    slot: Slot
    payload_present: boolean
    blob_data_available: boolean

Things to know

  • Status: Last Call (deadline 2026-11-01). The full rules live in the consensus-specs repository under the Gloas fork; details can still change until finalised and scheduled.
  • It requires a consensus-layer hard fork.
  • Free option problem: a builder can choose not to reveal when that is profitable, producing an empty slot. The spec flags this as an open concern.
  • A transaction in slot N is not widely validated until the slot N+1 proposer builds on it and attesters vote, which changes confirmation assumptions slightly.
  • Proposers can still build their own payloads. The design is described as compatible with fork-choice enforced inclusion lists such as EIP-7805.

#consensus #pbs #mev #builders #gloas

Details

Authors
Francesco D'Amato <[email protected]>, Nico Flaig <[email protected]>, Barnabé Monnot <[email protected]>, Michael Neuder <[email protected]>, Potuz (@potuz), Justin Traglia <[email protected]>, Terence Tsao <[email protected]>
Status
Last Call
Type
Standards Track / Core
Created
2024-06-28
Required by

Machine-readable: Markdown · JSON