EIP-7805 · Draft · Core · 2024-11-01
EIP-7805: Fork-choice enforced Inclusion Lists (FOCIL)
FOCIL lets a small committee of validators publish inclusion lists each slot, and attesters only vote for the next block if it includes those transactions, strengthening censorship resistance.
What problem does it solve?
Most Ethereum blocks are built by a handful of specialized builders who buy the right to build from validators. If those few builders decide to leave certain transactions out, those transactions can be delayed for a long time, even though thousands of validators would happily include them.
FOCIL (Fork-choice enforced Inclusion Lists) gives validators back a say. A committee of validators names transactions that must go in the next block, and the fork-choice rule makes a block that ignores them unlikely to become canonical.
How it works
Per slot (timings are from the spec, relative to slot start):
- IL committee (slot N). 16 validators (
IL_COMMITTEE_SIZE) are selected. Each builds an inclusion list (IL) of up to 8 KiB of transactions from its view of the public mempool and gossips it. How to pick transactions is left to implementers. - Validators store ILs until a view-freeze deadline at about t=9s. If a committee member sends two different ILs, it is treated as an equivocator and its ILs are ignored.
- Builder/proposer (slot N+1). Collects ILs and adds their transactions to the payload. Placement is free: IL transactions can go anywhere in the block.
- Attesters (slot N+1). Vote for the block only if it satisfies the ILs they stored.
"Satisfies" is conditional. After executing the block, the execution layer checks each IL transaction that is missing: if there is enough gas left and the transaction would pass nonce and balance checks against the post-state, the block is rejected with INCLUSION_LIST_UNSATISFIED. A full block, or a transaction that has become invalid, is an acceptable reason for omission.
Only a 1-of-N honest committee member is needed for a censored transaction to be forced in. There are no explicit rewards for IL committee members.
Sample code
New consensus containers:
class InclusionList(Container):
slot: Slot
validator_index: ValidatorIndex
inclusion_list_committee_root: Root
transactions: List[Transaction, MAX_TRANSACTIONS_PER_PAYLOAD]
class SignedInclusionList(Container):
message: InclusionList
signature: BLSSignature
The execution-layer check, as pseudocode:
def il_satisfied(block, post_state, gas_left, il_txs):
for tx in il_txs:
if tx in block.transactions:
continue
if tx.gas > gas_left:
continue # no room: omission allowed
if valid_nonce_and_balance(tx, post_state):
return False # INCLUSION_LIST_UNSATISFIED
return True
Things to know
- Status: Draft. Exact timings, Engine API methods (
engine_getInclusionListV1, extendedforkchoiceUpdatedandnewPayload) and parameters may still change. - It is a consensus change that requires a hard fork, but it does not change how users send transactions.
- It improves on the earlier forward inclusion list design EIP-7547, which had a one-slot delay. It is often discussed alongside enshrined proposer-builder separation, EIP-7732.
- ILs are not checked for validity during gossip, only for size, signature and committee membership; invalid IL transactions are simply not enforced.