Technical definition
In optimistic rollups, transactions are assumed valid by default and only verified if a fraud proof is submitted within a challenge period. A fraud proof is a cryptographic or logical demonstration that a transaction or state transition violates the rollup’s rules, such as executing an invalid state change or including a transaction that should not have been processed. The proof typically relies on the availability of the original transaction data and the rollup’s execution rules, allowing a verifier to reconstruct the state and compare it against the sequencer’s claimed state. If the fraud proof is valid, the incorrect state transition is reverted, and the sequencer may face penalties.
An analogy
Imagine a notary public who records property transfers but doesn’t check every detail upfront. If someone later disputes a transfer as fraudulent, they can present evidence (e.g., a forged signature or incorrect deed) to a judge. The judge reviews the evidence and invalidates the fraudulent transfer, restoring the correct ownership record. The fraud proof is like this evidence, allowing the system to correct errors without redoing every single transfer.
Why it matters
Fraud proofs enable optimistic rollups to achieve scalability by deferring verification while maintaining security guarantees. They ensure that even if a sequencer acts maliciously, the rollup can detect and correct fraudulent state transitions, preserving trust in the system.
Where it came from
Fraud proofs were introduced with the original design of optimistic rollups by John Adler in 2018, building on earlier work in cryptographic dispute resolution. They became a cornerstone of systems like Optimism and Arbitrum, which launched in 2021 and 2022, respectively.
Example in practice
In Optimism, a sequencer processes a batch of transactions and submits a new state root to Ethereum. A watcher notices that one transaction in the batch was invalid (e.g., it spent funds from an account that had insufficient balance). Within the 7-day challenge period, the watcher submits a fraud proof demonstrating the invalid transaction. The rollup’s smart contract verifies the proof, reverts the fraudulent state, and slashes the sequencer’s bond.
Common misconceptions
- Fraud proofs are always automatic → Correction: Fraud proofs require active participation from validators or watchers to submit challenges; if no one challenges a fraudulent state, it remains uncorrected.
- Fraud proofs guarantee instant finality → Correction: Fraud proofs introduce a delay (the challenge period) during which state transitions are not final; finality only occurs after the challenge period elapses without disputes.
Risks & limitations
- Challenge period delays: Users must wait for the challenge period to elapse before considering transactions final, which can take days in some rollups.
- Centralization risks: If only a few entities are incentivized to submit fraud proofs, malicious sequencers may go undetected.
- Complexity and cost: Submitting fraud proofs requires access to the original transaction data and computational resources, which can be expensive or technically challenging.
- False positives: Malicious actors could submit invalid fraud proofs to censor legitimate transactions or disrupt the rollup.
- Sequencer censorship: A sequencer could delay or refuse to include transactions to avoid detection of fraud during the challenge period.