Validity proofs and fraud proofs: the two rollup families compared
Two answers to one question
A rollup batches thousands of transactions off the base chain, posts compressed data back to it, and claims the resulting state is correct. The base chain cannot re-execute every transaction itself - that would defeat the scaling purpose - so the rollup family must answer one question: how does the base chain know the claimed state is valid? Optimistic rollups answer with fraud proofs: validity is assumed, and anyone can challenge it within a time window. Zero-knowledge rollups answer with validity proofs: validity is demonstrated cryptographically before settlement. The two proof mechanisms are not variations on a theme; they are opposite epistemologies - one proves by refutation over time, the other by demonstration at settlement - and the difference propagates through every layer of the rollup experience.
How fraud proofs work
- The assumption model: a batch posts to the base chain with its state transition claimed valid. The claim stands unless disputed - the default is acceptance, backed by watchers and the economics of challenge.
- The challenge mechanism: within a window - days on major rollups - anyone can submit a dispute against a specific state transition. The dispute triggers a computational game: the disputed transition is decomposed step by step - from the full batch down to a single instruction - until the base chain can verify the disputed step directly.
- The game's economics: the decomposed game is priced so that each step's verification is cheap for the base chain and expensive for the disputing party if they are wrong. Losers pay; the structure makes honest challenges profitable and dishonest challenges ruinous, which is what keeps the assumption honest without constant supervision.
- The time dependency: fraud proofs require the window because the game takes time - decomposing disputes, running steps, collecting evidence. The window is not a design preference; it is the fraud-proof mechanism's latency, and users experience it as withdrawal delay.
How validity proofs work
- The demonstration model: every batch ships with a validity proof - a cryptographic argument that all transactions executed correctly per protocol rules. The proof is generated by the rollup's prover and verified on the base chain before the state transition is accepted.
- The verification economy: proof generation is expensive - heavy computation over the entire batch - while proof verification is cheap: the base chain checks the proof once and accepts the batch's validity structurally. The cost inversion is the family's defining trade: computation moves to the prover, and settlement becomes a verification event.
- The absence of windows: because verification happens at settlement, there is no challenge period - no waiting, no dispute game, no window. Finality is the proof's acceptance: either the proof verifies and the batch settles, or it does not settle at all.
- The correctness stack: validity proofs rest on proof systems - circuit designs, polynomial commitments, pairing-based or hash-based constructions - and the family's security inherits the proof system's correctness, its implementation's bug-freedom, and its setup assumptions. The audit surface is deeper and narrower than fraud proofs': fewer moving parts, harder to verify.
The comparison, dimension by dimension
Reading family claims correctly
The takeaway
Fraud proofs and validity proofs are the rollup stack's two epistemologies: fraud proofs assume validity and enforce it through time-boxed challenge games whose economics keep the assumption honest; validity proofs demonstrate validity through cryptographic proofs verified at settlement. The comparison is dimensional - latency, cost structure, supervision model, maturity, and failure modes all invert between the families - and each family's strengths are the other's risks. Reading rollup security correctly means identifying the proof mechanism, treating withdrawal timing as structural, and auditing each family's characteristic surface: the game's economics for fraud proofs, the proof stack's correctness for validity proofs. The base chain settles either way; what it demands before settling is the difference - and that demand is the most consequential choice in the scaling stack.