Orca Crypto
Menu
Start Here
Learn
Chains
Exchanges
Markets
Tools
Safety
Glossary
More
Our tokens Book a session
Expert · Scaling architecture

Rollup architecture: sequencing, proofs and exits

A rollup is an L1 contract with a very elaborate opinion about which state root to accept. Here is how it forms that opinion.

Loading live prices
By the Orca Crypto teamUpdated 2026-09-28How we check this16 min readExpert
The short answer

A rollup executes transactions off Ethereum but posts the data and a state commitment to it, and an L1 contract decides which state is final using fraud proofs or validity proofs. Its real security comes from three places: whether the data is on Ethereum, whether anyone can prove or challenge, and whether users can force their way out before whoever holds the upgrade keys changes the rules.

What makes a rollup a rollup

A rollup is a chain that executes off Ethereum but cannot lie about what it executed. Three things live on L1: the ordered transaction data, or at least enough of it to rebuild the state; a commitment to the resulting state, usually called a state root or output root; and a contract that decides which of those commitments is final and therefore which withdrawals to pay. Execution, block building and the mempool all happen off L1.

The defining property is that the L2 state is a pure function of data that sits on L1:

staten = STF( staten−1, batchn )STF is the state transition function. batchn is read from Ethereum blobs or calldata, so any node can replay the chain from genesis without trusting the operator.

Remove any one of the three and you have something else. The distinction that matters most is where the data lives, because data you cannot get is a state you cannot rebuild and a proof you cannot write.

DesignWhere the data livesHow state is checkedIf the data is withheld
Optimistic rollupEthereumFraud proofs during a challenge windowNot possible while Ethereum is live
Validity rollupEthereumA validity proof for each batchNot possible while Ethereum is live
OptimiumA committee or an external DA layerFraud proofsNobody can build a fraud proof, so an invalid state root can finalize
ValidiumA committee or an external DA layerA validity proof for each batchState stays correct, but users cannot build withdrawal proofs, so funds freeze
SidechainIts own validatorsIts own consensusYou trust the validator set for everything

The data availability guide covers the data half in depth. This guide is about the other moving parts: who orders transactions, how the L1 decides what is true, and how you get out when you disagree with the operator.

The sequencer and four meanings of confirmed

On Arbitrum One, Base and OP Mainnet, as on most rollups in September 2026, a single sequencer run by the operator receives transactions, orders them, executes them and posts compressed batches to Ethereum. Centralized sequencing gives fast, predictable blocks. What it costs shows up in how many different things "confirmed" can mean:

LevelWhat has happenedWhat you are trusting
Soft confirmationThe sequencer has ordered and executed your transaction and streamed the resultThe sequencer, which could still reorder or drop it before posting
PostedThe batch containing it is in an L1 blockThat the L1 block is not reorganized. The resulting L2 state is now determined for anyone running a node
FinalizedThat L1 block is finalized, about 13 to 19 minutes after it was proposedEthereum’s finality and nothing else
SettledThe L1 contract has accepted a state root covering it, so withdrawals can be paidThe proof system, and whoever can upgrade it

The gap between the third and fourth rows is the most misunderstood fact about optimistic rollups. Once the batch is finalized on Ethereum, the L2 state is already fixed: every honest node computes the same result. The challenge window exists only to convince the L1 bridge contract, which cannot run the L2 itself. That is why liquidity providers can pay out "fast withdrawals" in minutes. They run a node, know the outcome, and wait out the window on your behalf for a fee.

Forced inclusion: censorship resistance through L1

A sequencer that can refuse your transaction forever can freeze your funds forever. Serious rollups therefore give users a path around it: submit the transaction to an L1 contract, and if the sequencer does not include it within a fixed delay, the protocol includes it anyway.

RollupMechanismMaximum delay (L2BEAT, September 2026)
Arbitrum OneQueue the transaction in the delayed inbox on L1; after the delay anyone can force it into the sequence1 day
OP Mainnet and BaseDeposit through the L1 portal contract, which the derivation rules must include12 hours (3,600 L1 blocks)

Forced inclusion bounds censorship; it does not remove it. The sequencer still decides where your transaction lands relative to everyone else’s, so a forced transaction can be sandwiched or front run, and a forced withdrawal still has to wait out settlement. The worst case for getting assets out against a hostile operator is roughly:

texit ≈ tforced inclusion + tsettlementArbitrum One: 1 day + 6 days 8 hours. OP Mainnet: 12 hours + 7 days. Base: 12 hours + 5 days on its slow path.

Optimistic rollups: assume valid, prove fraud

An optimistic rollup lets a proposer post a state claim with a bond. If nobody disputes it during the challenge window, it becomes final. If someone does, the two sides play an interactive game that ends with the L1 contract executing a single machine instruction itself. The trick that makes this affordable is bisection. Two parties who agree on the state at step 0 and disagree at step N can locate the first step where they diverge in about log2 N rounds, and only that one step ever runs on L1.

python
# Interactive bisection, simplified. Both parties agree on the machine
# state at step lo and disagree about the state at step hi.
# Each round halves the disputed range, so N steps take about log2(N) rounds.
def bisect(lo, hi, defender, challenger):
    while hi - lo > 1:
        mid = (lo + hi) // 2
        claim = defender.state_hash_at(mid)      # defender commits onchain
        if challenger.state_hash_at(mid) == claim:
            lo = mid                              # they agree up to mid
        else:
            hi = mid                              # they already disagree at mid
    # One step is left. The L1 contract executes it itself and
    # rules for whoever's claimed post state matches.
    return l1_execute_one_step(lo, defender.state_at(lo))
rounds ≈ ⌈ log2 N ⌉A dispute over 240 machine steps, about 1.1 trillion, needs about 40 rounds before a single step is executed onchain.

Security rests on a 1 of N assumption: one honest, funded and online challenger is enough. That is why "permissionless" matters so much. If only an allowlist can challenge, you are trusting the allowlist.

Arbitrum One: BoLD

Arbitrum switched to BoLD (Bounded Liquidity Delay) on February 12, 2025, making validation permissionless. Disputes narrow in levels: from blocks, to ranges of machine steps within a block, to one WebAssembly instruction that the L1 contract executes as a one step proof. The game is all against all: one honest party can defend the correct claim against any number of attackers, and the delay a dispute can add is bounded rather than growing with the number of attackers. Arbitrum’s documentation puts that bound at about two challenge periods plus a two day grace period for the Security Council. Bonds make attacks expensive: 3,600 ETH to post an assertion, 555 WETH for a big step sub challenge and 79 WETH for a small step one, with 1% of confiscated funds paid to honest defenders as a bounty.

OP Stack: Cannon and the fault dispute game

Permissionless fault proofs went live on OP Mainnet on June 10, 2024. The disputed computation is a fault proof program that derives and executes L2 blocks from L1 data (originally op-program, now also Kona, a Rust implementation), compiled to MIPS and run in Cannon, an emulator whose single step also exists as an L1 contract. The game tree bisects first over output roots and then, below a split depth, over the execution trace, to a maximum depth of 73. Each side has a chess clock that accumulates only its own response time, so stalling cannot stretch the game indefinitely.

Base: two proof systems at once

Base took a different route with its Azul upgrade in May 2026: multiproofs. A state proposal can be backed by a TEE proof, from L2 blocks re-executed inside AWS Nitro enclaves, or by a ZK proof generated with SP1, and a permissionless ZK proof can override a TEE proof. Either alone finalizes after the slow window, which L2BEAT reads from the deployed contracts as 5 days; when both agree, it drops to 1 day. An attacker now has to break two unrelated systems at once.

Validity rollups: prove every batch

A validity rollup attaches a succinct proof that the state transition function was applied correctly to the data committed on L1. The verifier contract checks the proof, and the new state root is final as soon as the proof is accepted. There is no challenge window and no need for anyone to be watching. The costs move elsewhere:

  • Proving cost and latency. Generating a proof takes a large amount of computation. Rollups amortize it by proving large batches, trading time to settlement against cost per transaction.
  • Prover centralization. On most validity rollups in September 2026 only a permissioned prover could advance the state. L2BEAT notes, for example, that on Starknet only a whitelisted proposer can update state roots on L1. If that prover stops, settlement stops with it.
  • Soundness bugs. A proof is only as good as the circuit or zkVM behind it. An underconstrained circuit can accept an invalid state as valid, silently. That is why some teams run more than one proof system: Taiko combines SP1, RISC Zero and TEEs, and Base pairs TEEs with SP1.
  • What gets posted. Some validity rollups post full transactions. Others post only state diffs, which are smaller but let you rebuild balances, not transaction history, from L1. Starknet posts state diffs.
cost per tx ≈ ( Cverify + Cbatch ) ÷ n + bytestx × pDAProof verification and batch overhead are fixed per batch and shared across n transactions. Data is paid per byte.

Optimistic

Fraud proofs

  • Cheap in the normal case: nothing is proven unless someone disputes
  • Runs the ordinary EVM or WebAssembly, so compatibility is easy
  • Settlement waits out a window of days
  • Needs at least one honest, funded, online challenger

Validity

Validity proofs

  • Settles as soon as a proof is verified
  • No watchers needed for correctness
  • Proving is expensive and usually permissioned today
  • A circuit or zkVM bug can pass an invalid state silently

The zero knowledge guide covers what the proofs establish and what they cost to make.

The canonical bridge is the rollup

From Ethereum’s point of view, a rollup is an escrow contract. Deposits lock assets in it. Withdrawals are messages from L2 that the contract honors once a state root containing them has been accepted, checked with a Merkle proof against that root. Everything described above, the sequencer, the dispute game, the prover, exists to decide which state roots that contract should accept.

That is why upgrade keys matter more than anything else. Whoever can upgrade the bridge, the proof verifier or the contract that selects state roots can, in principle, redirect every asset the rollup holds. Tokens that arrive through a third party bridge instead of the canonical one add that bridge’s own trust model on top; see cross chain security and the beginner view in bridges explained.

Follow the upgrade keys
A rollup inherits Ethereum’s security only as far as its upgrade keys allow. A small multisig that can upgrade the bridge instantly is the real security model, whatever proof system sits underneath it.

L2BEAT stages in detail

L2BEAT’s stages framework grades how far a rollup has removed its training wheels. It is a maturity scale, not a security score, and L2BEAT says so on every project page. The requirements as published (last updated July 23, 2025):

StageRequirements
Stage 0Calls itself a rollup. Posts state roots on L1. Publishes all data needed to reconstruct the state on L1. Source available software that can rebuild the state from that data. A proper proof system, fraud or validity. For optimistic designs, at least 5 external actors able to submit a fraud proof.
Stage 1The only way, other than bugs, to indefinitely block an L2 to L1 message or push an invalid one is to compromise at least 75% of a Security Council. The council has at least 8 members and a threshold of at least 75%. Upgrades initiated by anyone less decentralized than the council leave users at least 7 days to exit. The proposer role is assumed open to anyone with sufficient resources.
Stage 2Permissionless fraud proofs. At least 30 days to exit before any unwanted upgrade. The Security Council may act only on bugs that can be detected onchain.

In December 2025 L2BEAT proposed adding a "walkaway test" to Stage 1: the 75% property must hold even if the Security Council disappears for good, so the council can act as an emergency brake but cannot be what keeps withdrawals working. By September 2026 each project page stated whether the rollup passes it.

Where things stood in September 2026, according to L2BEAT: Base, Arbitrum One and OP Mainnet, the three largest optimistic rollups by value secured, were Stage 1 and passed the walkaway test. Their councils were 8 of 11 (co-signing with a Coinbase multisig), 9 of 12 and 10 of 13 respectively. Starknet was Stage 1 but did not pass the walkaway test. Linea and ZKsync Era were Stage 0. Only a handful of small projects had reached Stage 2, among them the Aztec network in June 2026, after its governance renounced control of the rollup contract.

Upgrade keys and the exit window

The exit window is the time users have to leave between an upgrade being announced and it taking effect. L2BEAT derives it from the upgrade delay, minus the time it takes to force a withdrawal through and settle it:

exit window = upgrade delay − ( tforced inclusion + tsettlement )

Work it through for Stage 2. With a 1 day forced inclusion delay and a 6 day 8 hour challenge period, a 30 day exit window needs an upgrade delay of at least 37 days and 8 hours. A rollup with a 7 day timelock and a 7 day challenge period has an exit window of zero: by the time you could be out, the upgrade has already landed. Security Council emergency upgrades may skip the delay at Stage 1, which is exactly why the council’s size, threshold and independence are graded.

For validity rollups the counterpart of forced inclusion is an escape hatch. In the strongest designs, if forced transactions are ignored for a set period the contract freezes and users withdraw directly against the last proven state root with a Merkle proof, no operator required. Not every rollup has one. In September 2026 L2BEAT reported that Starknet had no user callable forced inclusion function at all. Its Stage 1 rating rests on its Security Council rather than a user escape path. Checking for this is one of the fastest ways to see how much a rollup still depends on its operator.

Open designs: based rollups, shared sequencing, preconfirmations

Centralized sequencing is where rollups still depend on their operator day to day, and the alternatives are active research.

Based rollups

Ethereum’s own block proposers sequence the rollup, so it inherits L1 liveness and censorship resistance. The costs: 12 second blocks unless something is added, and sequencing MEV flows to L1 proposers. Taiko, the best known attempt, gated proposing through a whitelist of preconfirmation operators as of September 2026.

Shared sequencing

One sequencer network orders transactions for many rollups, which makes atomic inclusion across them possible. Inclusion is not execution, so cross rollup atomicity still needs more machinery, and the shared layer becomes a new point of concentration.

Preconfirmations

Signed, collateralized promises from a sequencer or proposer that a transaction will be included, restoring fast confirmations to based designs. Who may issue them and how broken promises are penalized is still being designed.

Further out, native rollups would let Ethereum verify a rollup’s execution directly through a precompile, replacing custom proof systems for EVM chains. As of September 2026 that remains at the research stage.

Evaluating a rollup in five questions

  1. Where is the data?

    Ethereum blobs or calldata makes it a rollup. A committee or an external layer makes it an optimium or a validium, with a different failure mode.

  2. Who can prove, and who can challenge?

    Permissionless, or an allowlist? For optimistic designs, how large are the bonds and how long is the window? For validity designs, what happens if the only prover stops?

  3. How do I leave if the operator turns hostile?

    Find the forced inclusion delay and the settlement delay and add them. That is your worst case.

  4. Who can upgrade, and how fast?

    Name the multisigs, their thresholds and the timelocks, then compute the exit window. The admin keys guide shows how to read them onchain.

  5. What does L2BEAT say, and when did it last change?

    Read the whole project page, not just the badge. The risk summary, the permissions list and the update log carry the detail, and they change more often than the stage does.

For the chains themselves, the layer 2 directory and comparisons such as Arbitrum vs Optimism are a good starting point before you open the contracts.

Common questions

Why do optimistic rollup withdrawals take about a week?

The L1 contract cannot re-execute the L2, so it accepts a state root only after a challenge window passes without a successful fraud proof. The window has to be long enough for an honest challenger to notice and respond even under censorship or congestion. As of September 2026 it was 6 days 8 hours on Arbitrum One and 7 days on OP Mainnet. Base’s multiproof system cuts it to 1 day when its TEE and ZK proofs agree.

Is a ZK rollup safer than an optimistic rollup?

Not automatically. A validity proof removes the need for challengers and the waiting period, but it moves the risk into the proof system, where a circuit bug can pass an invalid state, and most validity rollups still rely on a single permissioned prover. Data availability, exit paths and upgrade keys matter at least as much as the proof type, which is why L2BEAT grades them separately.

What happens if a rollup sequencer goes down?

Soft confirmations stop and the chain appears frozen. Users can still submit transactions through the L1 contract, and the protocol must include them after the forced inclusion delay, which L2BEAT listed as 1 day for Arbitrum One and 12 hours for OP Mainnet and Base in September 2026. It is slow and costly, but it is the difference between downtime and lost funds.

What is the difference between a rollup, a validium and an optimium?

All three post state commitments to Ethereum and use proofs. A rollup also posts its transaction data to Ethereum. A validium (validity proofs) and an optimium (fraud proofs) keep the data elsewhere, with a committee or an external DA layer, which is cheaper but adds a trust assumption: if the data is withheld, a validium freezes and an optimium can accept an invalid state.

What does Stage 1 mean on L2BEAT?

That the proof system, not the operator, is in charge: blocking withdrawals or forcing an invalid state requires compromising at least 75% of a Security Council of at least 8 members, and upgrades by anyone less decentralized give users at least 7 days to exit. Stage 2 goes further, with permissionless proofs, a 30 day exit window and a council limited to onchain provable bugs.

Kept on this device only. Nothing is sent anywhere.

Where to go next

Next: Data availability: blobs, sampling and DA layers

Guide 6 of 16 in the Expert level. Your place is kept on this device, so you can pick up exactly here next time.

Share this page

Was this page useful?