Corpus Core Docs

L1 anchor

Not implemented. This page is the design for a proof of a confirmed assertion. It does not describe the verifier that is built today.

When an assertion is confirmed, the rollup contract calls Outbox.updateSendRoot(sendRoot, l2BlockHash). The L2 header carries that sendRoot in extraData, so a proof can follow the shape of eezL1Proof:

static const ssz_def_t ARB_L1_PROOF[] = {
    SSZ_PROG_BYTES("elHeader"),                  // RLP L2 header; extraData = sendRoot
    SSZ_CONTAINER("account", ETH_ACCOUNT_PROOF), // L1 proof of Outbox.roots[sendRoot]; elProof is a clProof
};

The verifier would check that account.address is the configured Outbox, that the single storage key is keccak256(extraData || pad32(slot)), and that the value equals keccak256(elHeader). The slot of roots is part of the chain config and has to be taken from the deployed proxy. Only the block that ends an assertion is anchored directly. Earlier blocks are an eip2935 hop against that anchor, inside the 393168 window of this build, or the historic chain below.

The newest confirmed assertion trails the head by the challenge period. Proofs against it need state at that block. The tags safe and finalized belong to this proof, because on Arbitrum they are defined from L1.

A pending assertion would be a separate tier: RollupCore._assertions[assertionHash] is Pending, the assertion has no second child, and the preimage contains the block hash. It is younger than a confirmation and rests on the proposer's bond. It needs its own preimage checks, so it is worth building only if something needs a tier between the feed and a confirmed assertion.

Offchain Labs has described ZK settlement that would confirm assertions in hours. If that lands in the same storage slot, this proof gets fresher without a new variant.

Open questions

  • Storage slot of Outbox.roots behind the proxy, and whether entries are removed.
  • Outbox and rollup addresses, the challenge period, and the assertion interval.
  • Whether every confirmed assertion since ArbOS 40 is still readable.