EIP.tools

EIP.tools

⚠️ DraftStandards Track: Networking

EIP-8437: eth/73 - Proof wrapper propagation

Adds announcement and retrieval of EIP-8288 proof wrappers to eth/73

Authors
Created2026-10-05
Discussion Linkhttps://ethereum-magicians.org/t/eip-8437-eth-73-proof-wrapper-propagation/29934
Requires

Markdown

https://raw.githubusercontent.com/ethereum/EIPs/re...
Pull Request#12423PR open

EIP-GPT summary

Contents
AbstractMotivationSpecificationNew messagesNewProofWrapperHashes (0x16)GetProofWrappers (0x17)ProofWrappers (0x18)Hash-based omissionTransaction propagationBlob-carrying dependency transactionsValidationRationaleBackwards CompatibilityTest CasesSecurity ConsiderationsCopyright

Abstract

This EIP defines eth/73, a version of the eth wire protocol that propagates EIP-8288 proof wrappers ("wrappers" below). Peers announce wrapper modes, lengths and hashes, then retrieve wrappers by hash.

Motivation

EIP-8288 separates signatures and proofs from transaction envelopes and permits aggregation across transactions. Existing transaction propagation does not identify this shared proof material, so peers need a way to discover and retrieve it.

Specification

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119 and RFC 8174.

eth/73 extends eth/72 (EIP-8070), using its notation and message semantics except as specified below. Status (0x00) is unchanged; the protocol version and new message IDs are provisional. Request IDs follow EIP-2481. Clients SHOULD advertise eth/73 once EIP-8288 is scheduled.

New messages

Messages use canonical RLP with the structures below and no extra fields or trailing bytes.

Until EIP-8288 is enabled for local mempool validation, clients MUST NOT send wrapper messages and MUST ignore received wrapper messages without penalties; underlying transport size limits still apply.

NewProofWrapperHashes (0x16)

[[mode₀: P, length₀: P, hash₀: B_32, deps-hash₀: B_32, txs-hash₀: B_32], ...]

Announce 1–64 held wrappers in strictly ascending hash order: mode is 0 or 1, length is 1–MAX_WRAPPER_BYTES as defined by EIP-8288, and hash is Keccak-256 of the complete canonical RLP wrapper, including pooled transaction encodings. Peers SHOULD announce newly validated wrappers to every connected eth/73 peer and, on connection, up to 64 offered wrappers covering at least one pending transaction, most recent first.

deps-hash is Keccak-256 of the concatenated 96-byte entries in the canonical deps list; txs-hash is Keccak-256 of the concatenated, ascending consensus transaction hashes. Requesters MAY skip a fetch when both match a held wrapper validated under the current rules. Hints alone establish no coverage or validity; matching only deps-hash does not identify the transactions.

Under the same verification rules, peers SHOULD suppress hashes already exchanged on the connection and wrappers whose transactions are covered by held, validated wrappers exchanged with or announced by the recipient, unless they reduce proof bytes or estimated verification work, or provide an IL-bounded mode-1 proof where existing coverage cannot. Peers MAY re-announce a hash once a local interval has passed or it has left their bounded record of the connection.

The announcement tuple is fixed for eth/73. Extending it requires a new protocol version; canonical decoding rejects extra fields.

GetProofWrappers (0x17)

[request-id: P, compact: P, [hash₀: B_32, hash₁: B_32, ...]]

Request 1 to 32 distinct wrapper hashes per message, each previously announced by the recipient on that connection under the same verification rules. Responders MUST treat hashes they have not announced as unavailable and MUST NOT penalize the request, since either side's record of announcements may be bounded. compact is 0 or 1: with 0, returned wrappers MUST contain complete transaction encodings; with 1, responders MAY use hash references as below.

ProofWrappers (0x18)

[request-id: P, [[hash₀: B_32, wrapper₀], [hash₁: B_32, wrapper₁], ...]]

Return available validated wrappers as embedded EIP-8288 RLP items, paired with their canonical hashes, in request order with omissions allowed and no repeats. The recommended soft response limit is 2 MiB. Responders SHOULD stop after reaching it, returning complete wrappers only. Empty responses are permitted.

Requesters match distinct requested hashes in order, reconstruct wrappers as below, check canonical hashes, modes and full lengths against the recipient's announcements, and re-request hashes after the last returned wrapper. Earlier omissions are unavailable from that peer. Requesters SHOULD fetch each wrapper from one announcer at a time and try another after an empty response or timeout.

Responders whose serving budget is spent SHOULD return an empty response rather than omit wrappers or stay silent. Requesters SHOULD NOT penalize an empty response or count it toward a limit on sources tried for a wrapper. They MAY score earlier omissions in a nonempty response in proportion to the requested wrappers withheld, and SHOULD count an unanswered request against the peer. A future version may add an explicit retry-after hint.

Hash-based omission

  • With compact = 1, responders MAY replace transaction bytes previously sent in full within a validated wrapper on that connection with [encoding-hash: B_32], if smaller. The hash is Keccak-256 of the pooled transaction bytes, excluding the enclosing RLP string prefix. References are RLP lists; transactions are byte strings.
  • Resolve references from cached, validated encodings and check their hashes. The complete wrapper determines identity and byte limits; reconstruction MUST stay within the announced length.
  • On a missing encoding, requesters MUST discard the compact item and SHOULD retry with compact = 0 and a fresh request ID. Cache misses MUST NOT incur penalties.

Transaction propagation

Dependency-bearing transactions MUST NOT appear in Transactions (0x02) or PooledTransactions (0x0a) on any version; GetPooledTransactions (0x09) treats them as unavailable. NewPooledTransactionHashes (0x08) MUST NOT announce them except for blob availability below.

Blob-carrying dependency transactions

On eth/73, EIP-8070 applies to blob-carrying frame transactions. ProofWrappers carries EIP-8141's pooled network form, with blob data elided as specified by EIP-8070.

  • After wrapper validation and EIP-8070's checks, clients SHOULD advertise cells through NewPooledTransactionHashes, with covering-wrapper announcements subject to suppression. Unknown frame hashes may elicit empty GetPooledTransactions responses.
  • GetCells/Cells use consensus transaction hashes. Dependency-bearing transactions require a validated covering wrapper before cell retrieval and EIP-8070's checks before admission. Validated wrappers may circulate before availability is established; their announcements do not count as providers.

Validation

  • Clients MUST check the complete wrapper's encoding, length and hash and validate under EIP-8288 before announcement, serving, reaggregation or transaction admission. Until validation completes, received wrapper data MUST remain in bounded request-scoped storage and be discarded on cancellation or timeout.

  • Validate using the EIP-8288 fork rules selected for local mempool validation. If those rules change, for example through a new proof verifier or dependency limits, wrappers validated only under the previous rules MUST NOT be served, announced or used to suppress announcements.

  • Before decoding or hashing wrapper bodies, requesters SHOULD check that the response's request ID is outstanding and its connection open; responders SHOULD skip requests from closed connections.

  • Transport item-count, hard byte-length and response-order violations SHOULD cause disconnection. Malformed transport encodings, unmatched or excess responses, hash, mode or length mismatches, and references in a compact = 0 response MUST be discarded and MAY cause penalties or disconnection. Crossing the soft response limit alone MUST NOT cause penalties. A complete wrapper that is not canonical EIP-8288 RLP is likewise malformed.

  • Once the canonical wrapper is reconstructed, clients MUST check its announcement digests alongside its hash, before proof verification. A mismatch MUST cause discard and SHOULD cause disconnection, independently of proof validity.

  • Pool rejection of an individual transaction does not invalidate its covering wrapper and MUST NOT incur peer penalties. Clients SHOULD relay such a wrapper unchanged only if it newly admitted at least one transaction and no fewer than it rejected; already-pending transactions count as neither.

  • Proof or dependency-rule failures, including exceeding MAX_SIGS_PER_TX or another EIP-8288 dependency limit, MUST cause the wrapper to be discarded without peer penalties or disconnection for that failure. Such wrappers are invalid, not malformed: only failures of the transport, encoding, hash, mode, length and digest checks above are malformed.

  • Clients MAY deprioritize or rate-limit fetching from peers whose wrappers repeatedly fail validation or whose requests go unanswered, MAY disconnect such peers past a local threshold, and SHOULD retain this standing by node identity across reconnections.

  • Clients SHOULD bound served ProofWrappers bytes globally and divide the budget fairly between peers, for example 32 MiB/s in total and at most 8 MiB/s per peer.

Rationale

Wrappers carry transactions alongside their dependency proofs so receivers can validate them together. Separate propagation would require additional mempool state for envelopes awaiting coverage, or fetching those envelopes again after the proof arrives.

Reusing EIP-8070's cell announcements preserves its provider and sampler behavior. Putting cell masks in wrappers would make wrapper identity depend on each peer's changing holdings.

Mode distinguishes direct-witness verification from recursive-proof verification; length gives the complete wrapper's encoded size. Dependency and transaction digests identify equivalent coverage despite different proof bytes, avoiding redundant downloads. Compared with a dependency hint alone, txs-hash adds 33 encoded bytes per announcement to distinguish different transactions sharing dependencies. The wire dependency digest uses a fixed hash of encoded triples rather than the circuit digest, allowing checks independent of fork verification rules.

Hash omission saves repeated transaction bytes while preserving canonical identity, at the cost of cache tracking and full retries after eviction. Encoding hashes also bind blob metadata.

Backwards Compatibility

eth/73 may be negotiated before EIP-8288 activates. Older versions continue exchanging blocks and other transactions but receive neither wrappers nor dependency-bearing envelopes through transaction messages.

Test Cases

Announcement vectors, wrapper vectors and the checker cover the following encoding and matching cases; synthetic envelopes and witnesses do not test transaction or proof validity.

Checker caseExpected result
Maximum announcement/request; excess count6,787/1,072 encoded bytes for 64 announcements/32 hashes; reject excess
Request a received announcement; request an unannounced hashRequester selects the former; responder omits the latter
Changed enclosed envelope, proof bytes or announced mode/lengthReject mismatch
Different proof bytes, identical dependency and transaction setsDifferent wrapper hashes; equal coverage hints permit skipping the fetch
Equal dependency digest, different transaction setsTransaction digests differ; dependency equality alone does not suppress fetching
False dependency or transaction digest, including with an invalid proofReject mismatch before proof verification
Empty envelopes, unresolved references in a canonical wrapper, duplicate or reordered envelopesReject malformed or noncanonical wrapper
Full response to either request flag, without omission cachesAccept
Compact response with cached references; missing referenceReconstruct the identical canonical wrapper; discard the incomplete item and retry in full
Reference when compact = 0, wrong cached encoding or false canonical hashReject
Compact form fits the byte cap but reconstructed wrapper exceeds itReject
Blob network wrapper with elided data, commitments and cell proofsAccept encoding; use the consensus transaction hash for ordering and cell requests
Nonempty blob data, mismatched commitments or wrong proof countsReject wrapper; metadata changes also change wrapper identity
Complete wrapper exactly at 2 MiB; one byte largerAccept the size boundary, including response overhead; reject the oversized wrapper
Response crosses soft limit on final wrapperStop packing; receiver accepts overshoot
Response omits whole wrappers, repeats or reorders themAccept omissions; reject repeats/reordering

Client integration cases require peer and fork state not modeled by the checker:

  • Suppress wrappers covering already-covered transactions unless cheaper or newly IL-reusable.
  • Hints never establish coverage before validation. A correct hint remains consistent across verifier changes; an incorrect hint is penalizable independently of proof failure.
  • Before local activation, ignore wrapper messages without penalties and send none.
  • Discard a wrapper failing proof or dependency validation, including one exceeding MAX_SIGS_PER_TX, without penalizing its sender, including across a verifier change; malformed transport or mismatched announced hashes remain penalizable.
  • Omit an encoding previously sent in full on the connection; retain its cache entry for reconstruction or retry in full after eviction. Never omit an encoding not previously delivered.
  • A valid wrapper remains relayable unchanged when one transaction fails pool admission; that rejection does not penalize the sender.
  • A complete wrapper can be validated without envelope requests; cancelled or timed-out validation releases its request buffer without admitting transactions.
  • An unknown blob frame hash triggers an empty GetPooledTransactions response; its covering wrapper later arrives. Fetch cells only after validating it; admit only after EIP-8070's checks.
  • Multiple wrappers covering A do not add providers or reset sampling. Two peers' full-cell announcements count as two providers; invalid cells do not invalidate the dependency proof or unrelated transactions.

Security Considerations

Clients should bound per-peer announcements, outstanding requests, buffered and cached bytes, verification/proving work and serving traffic. Request deadlines limit withholding; large responses delay other messages. Validation before relay adds per-hop download and verification latency; propagation within the aggregation interval requires measurements. EIP-8070's blobpool safeguards apply. Empty responses, responses cut at the soft limit and local budget exhaustion alone should not incur penalties.

Copyright and related rights waived via CC0.

EIP.tools

EIP.tools

Search, read, and map Ethereum improvement proposals, ERCs, RIPs, and CAIPs from one focused interface.

Farcaster
by @apoorveth