Under the Loom
Contents

§ 4.4 · Layer 2 Mechanics · 4 min

Fraud Proofs vs Validity Proofs in Practice

Optimistic rollups assume transactions are valid unless challenged; zk rollups prove every batch. How each proof system works, what it costs, and where both still rely on training wheels.

The Loom Desk ·

SHEET 48 · LAYER 2 MECHANUNDER THE LOOM
Fig. 4.4 — schematic. Watch the real thing in wevr.ai’s live tables.

A rollup executes transactions off Ethereum and posts the results back. That raises the central question of rollup security: why should Ethereum — or anyone — believe the results are correct? There are two answers in production today. Optimistic rollups assume results are correct unless someone proves otherwise within a challenge window, using fraud proofs. Validity (zero-knowledge) rollups attach a cryptographic proof to every batch showing the results are correct. This chapter compares how the two work in practice, what each costs, and how far each has come.

The shared foundation

Both designs share two things:

  1. Data availability. Transaction data is published to Ethereum (now usually in blobs), so anyone can reconstruct the rollup's state independently.
  2. A state commitment. The rollup periodically posts a commitment — a state root — summarising its state after a batch of transactions.

The proof system's job is to convince Ethereum that each state commitment is the correct result of applying the published transactions.

Optimistic rollups: innocent until proven guilty

An optimistic rollup posts state commitments without proof. Anyone watching can recompute the state from the published data. If a commitment is wrong, a watcher can challenge it during a challenge window — typically about a week.

Challenges are resolved through an interactive fraud proof. Rather than re-executing an entire batch on Ethereum, which would be prohibitively expensive, the challenger and the proposer narrow their disagreement step by step — bisecting the execution trace until they reach a single instruction they disagree about. Ethereum then executes just that one step to decide who is right. The loser's bond is slashed.

Strengths: proving is cheap — nothing needs to be proven unless there is a dispute — and the design supports full EVM compatibility relatively easily.

Costs: the challenge window. Withdrawals to Ethereum through the canonical bridge must wait until the window closes, because until then a commitment could still be overturned. And the system's safety requires at least one honest party actually watching and willing to challenge.

Validity rollups: proven before accepted

A validity rollup generates a cryptographic proof — a SNARK or STARK — for each batch, demonstrating that the new state root is the correct result of executing the published transactions. A verifier contract on Ethereum checks the proof. If it verifies, the state is accepted; there is nothing to challenge.

Strengths: no challenge window. Once a proof is verified, the state is final from Ethereum's perspective, so withdrawals can complete much faster. Safety does not depend on watchers.

Costs: proving is computationally expensive and requires specialised infrastructure. Proving general-purpose EVM execution efficiently has been a major engineering challenge, though it has improved rapidly. Verification on Ethereum also costs gas, amortised across all the transactions in a batch.

Training wheels

In practice, most rollups still operate with safeguards beyond their proof systems — often called training wheels:

  • Security councils — multisigs that can intervene, pause the system or upgrade contracts in an emergency.
  • Upgradeable contracts — the rollup's Ethereum contracts can be changed by an administrator, sometimes with delays.
  • Permissioned proving or challenging — in some systems, only approved parties can submit proofs or challenges.

These exist because proof systems are complex and young, and a bug in a fraud-proof game or a zk circuit could be catastrophic. But they also mean the rollup's security is, for now, partly trust in the people who hold those keys. Independent risk frameworks assess rollups by how far they have removed these training wheels — for example, whether fraud proofs are permissionless and whether upgrades have long delays that let users exit first.

Optimistic rollups such as those built on the OP Stack have moved to permissionless fault proofs on mainnet, a meaningful step in this progression; validity rollups have progressed in parallel on their own paths.

Comparing them in practice

Optimistic (fraud proofs) Validity (zk proofs)
When correctness is established After the challenge window, if unchallenged When the proof is verified
Canonical withdrawal time Around a week Hours, depending on proving cadence
Ongoing cost Low, unless disputed Continuous proving cost
Safety assumption At least one honest, active challenger Soundness of the proof system
Main engineering challenge Robust dispute games Efficient proving of EVM execution

A worked example

Suppose a buggy or malicious proposer on an optimistic rollup posts a state root that credits an attacker with funds they do not have. A watcher recomputing the state notices the mismatch and opens a challenge. Over a series of interactive steps, the dispute is narrowed to one instruction; Ethereum executes it, the invalid root is rejected, and the proposer's bond is lost. No user funds move, because withdrawals based on that root could not finalize until the window closed.

On a validity rollup, the same invalid state root simply cannot be accompanied by a valid proof. The verifier contract rejects it, and the batch is never accepted.

Batch postings and proof verifications both appear as transactions to the rollups' Ethereum contracts in the Wevr.ai live tables, and rollup activity can be compared on the chart explorer.

The takeaway

Optimistic rollups secure themselves with fraud proofs: cheap until challenged, but requiring a challenge window and honest watchers. Validity rollups prove every batch: faster finality and no watchers needed, at the cost of continuous, complex proving. Both rely on published data, and both still carry training wheels in many deployments. When you assess a rollup, ask not only which proof system it uses, but how much trust remains in the people who can override it.

Index terms: rollups · fraud-proofs · validity-proofs · zk · optimistic

Next · § 4.5 L2 Withdrawals: Exit-Ramp Mechanics →