EIPs Explained

EIP-7547 · Stagnant · Core · 2023-10-24

EIP-7547: Inclusion lists

A stagnant proposal for forward inclusion lists: the proposer of slot N names transactions that the block in slot N+1 must include, so builders cannot quietly censor them; later superseded by FOCIL.

What problem does it solve?

Since the Merge, most validators outsource block building to specialised builders through mev-boost (the proposal cites nearly 95 % of blocks being builder-built as of October 2023). Builders compete on MEV, and they alone decide which transactions go in. A proposer who wants a censored transaction included has only one option: build the block locally and give up MEV income.

Inclusion lists give proposers back a say. A proposer can publish a short list of transactions the chain must include soon, and blocks that ignore them become invalid.

How it works

The design is a forward inclusion list. Forcing a builder to include transactions in the same slot is not incentive-compatible (builders could simply refuse to build), so the list made by the proposer of slot N is enforced on slot N+1.

  • Along with its block, the slot N proposer broadcasts an InclusionList: up to 16 transactions (MAX_TRANSACTIONS_PER_INCLUSION_LIST) with a gas cap of 2**21, plus a signed summary listing each transaction's sender address and gas limit.
  • Validators only consider the slot N block if they have seen an inclusion list for it, and reject it if the listed transactions are not executable at the start of slot N or their maxFeePerGas is not at least 12.5 % above the current base fee (so they stay valid after one base-fee increase).
  • The slot N+1 payload must satisfy the summary. Entries that were already included in slot N are pointed to through an inclusion_list_exclusions index list and removed.
  • Summaries commit to sender and gas, not full transactions, which addresses the "free data availability" concern: the list cannot be used to post data without paying for it.
  • Engine API changes: new get_inclusion_list and new_inclusion_list calls, and new_payload / forkchoice_updated extended to carry and check the summary.

Sample code

The new consensus objects, in the spec's SSZ-style pseudocode:

MAX_TRANSACTIONS_PER_INCLUSION_LIST = 2**4    # 16
MAX_GAS_PER_INCLUSION_LIST          = 2**21
MIN_SLOTS_FOR_INCLUSION_LIST_REQUEST = 1

class InclusionListSummaryEntry(Container):
    address: ExecutionAddress
    gas_limit: uint64

class InclusionListSummary(Container):
    slot: Slot
    proposer_index: ValidatorIndex
    summary: List[InclusionListSummaryEntry, MAX_TRANSACTIONS_PER_INCLUSION_LIST]

class SignedInclusionListSummary(Container):
    message: InclusionListSummary
    signature: BLSSignature

class InclusionList(Container):
    summary: SignedInclusionListSummary
    transactions: List[Transaction, MAX_TRANSACTIONS_PER_INCLUSION_LIST]

Things to know

  • Status: Stagnant. It was never scheduled for a fork. Research moved on to committee-based designs, notably EIP-7805 FOCIL (Fork-choice enforced Inclusion Lists), where several validators contribute lists per slot.
  • Known open issue from the spec: the slot N+1 proposer could bribe the slot N proposer to publish an empty list, sharing the profit from ignoring it.
  • A separate inclusion-list gas cap is simple but could let proposers sell guaranteed inclusion; tying it to the block gas limit would let the next proposer fill the block to dodge the list. The spec leaves this as a trade-off.
  • Syncing nodes skip the inclusion-list check for old blocks, similar to how EIP-4844 nodes skip blob checks outside the retention window.

#censorship-resistance #pbs #mev #consensus #core

Details

Authors
mike (@michaelneuder), Vitalik (@vbuterin), Francesco (@fradamt), Terence (@terencechain), potuz (@potuz), Manav (@manav2401)
Status
Stagnant
Type
Standards Track / Core
Created
2023-10-24

Machine-readable: Markdown · JSON