Historic blocks
Not implemented. The prover answers a block older than 393168 behind the signed head with an error. This page is how those blocks would be proven later. It depends on the sequencer feed and does not depend on the L1 anchor or on Stylus.
Ancestry
A checkpoint was signed by whatever key was valid then. After a rotation the verifier only knows the current batch poster, and a proof that some address used to be a batch poster would accept a retired key. Historic blocks are therefore ancestors of a block the current signer has signed:
anchor A arbFeedProof, current signer
ring of A one eip2935 hop, proves hash(C_k)
ring of C_k one eip2935 hop, proves hash(C_k-1)
…
ring of C_j proves hash(n)
Each hop is the eip2935 check that already exists: header, account proof of the history contract, one storage proof. The window per hop is 393168. A block linked this way is whatever the current signer's chain contains.
| Hop chain | ZK-compressed chain | |
|---|---|---|
| Proof size | one account proof and one storage proof per hop | one Groth16 proof (356 bytes) plus a Merkle branch |
| Verifier work | those two proofs per hop | one pairing check, one branch, one hop |
| Needs | stored headers and proofs | an SP1 program and the existing Groth16 verifier |
The hop chain is the baseline. The ZK proof is the same statement, compressed.
What the server would store
Block hash log. 32 bytes per L2 block, indexed by block number, fed from the feed. A repeated sequence overwrites its entry. After a gap, hashes can be filled with eth_getBlockByNumber. About 4 blocks/s is about 4 GB per year.
Checkpoints. On a grid of at most 393168 blocks, for block N: the RLP header, the account proof of the history contract at N, and the feed signature of N when N is allowed to be an anchor. The 393168 hashes are the slice of the log, not a copy per checkpoint.
The storage root of the history contract at N is determined by that slice:
for n in N-393168 .. N-1:
key = keccak256(pad32(n % 393168))
value = rlp(trim_leading_zeros(hash(n)))
root = mpt_root(all 393168 leaves)
Rebuilding the trie and comparing root with the storageHash of the account proof checks the slice. A mismatch is not published. eth_getProof of all 393168 keys does not scale; debug_storageRangeAt is a repair path on a node that still has the state and the debug API.
The grid has to keep C_k inside the window of C_k+1. A fixed spacing with margin (for example 262144) survives a missed checkpoint. On a request the trie is rebuilt from the log and cached. History from before the server started can be backfilled from an archive node, because an old checkpoint is not authenticated by its own signature. The lower bound is the block where the history contract went live with ArbOS 40.
ZK re-anchoring
An SP1 program would take the hops from an anchor and prove: every checkpoint committed in checkpointsRoot is reachable from anchorHash by eip2935 proofs of the history contract. Chain id, contract address and window are constants of the program.
Public values: anchorNumber, anchorHash, checkpointsRoot, firstCheckpoint, count. The program can verify the previous proof and only walk the hops since the previous anchor, so a rotation costs one proof over the checkpoints since the last one.
The proof variant would authenticate a checkpoint header. The requested block is then one ordinary eip2935 hop from that header. The anchor is an arbFeedProof, or a cached hash of a block the verifier already holds. After the next rotation the anchor expires with its signer and the proof is rebuilt.
Until that proof exists, historic requests would fail. A configurable limit would cap how far back proofs are built.
Relation to the L1 anchor
A confirmed assertion stores the hash of the block that ends it. With the L1 anchor, a block older than the challenge period is one L1 proof plus one eip2935 hop, and the ZK chain is only needed for the week between the history window and the newest confirmation. Without the L1 anchor, the ancestry chain is the whole history. Both can exist: L1 for finalized history, the feed anchor for the recent window.