Fraud proof

On this page 7

A fraud proof is a piece of evidence, verified on a base blockchain, which demonstrates that a claimed state transition is invalid and causes that claim to be rejected and its author penalized. In blockchain scaling, fraud proofs are the security mechanism behind optimistic rollups: the rollup posts results that are assumed correct by default, and anyone can challenge a wrong result during a dispute window before it becomes final.

The approach is called optimistic because verification happens only when someone disputes a claim. Honest operation therefore costs very little on the base layer, while a single honest watcher is enough to stop an invalid state from being accepted.

How a fraud proof catches an invalid state

A fraud proof works by re-executing a disputed computation on the base chain, usually Ethereum, and comparing the honest result with the posted one. The rollup must publish its transaction data and a state root, a cryptographic commitment to all balances and contract storage after a batch.

  1. A proposer posts a new state root with a bond of staked collateral.
  2. Independent verifiers download the batch data and recompute the state locally.
  3. If their result differs, a verifier opens a challenge within the dispute window.
  4. The base chain contract settles the dispute by executing the contested step.
  5. The loser forfeits its bond, and an invalid state root is removed or replaced.

Settling a dispute cannot mean re-running an entire batch on Ethereum, because that would cost far more gas than a block allows. Modern systems therefore narrow the disagreement until only one machine instruction remains, which the base chain can execute cheaply.

Interactive and non-interactive fraud proofs

Fraud proofs come in two main forms, which differ in how many rounds of communication the dispute needs. The choice affects gas cost, dispute duration and implementation complexity.

DesignHow the dispute is resolvedTrade-off
Interactive bisectionParties split the trace until one step remainsCheap on-chain, needs many rounds
Non-interactive proofChallenger submits proof in one transactionSimple flow, expensive re-execution
Multi-party dispute gameMany challengers join one tournamentResists delay attacks, more complex
Main fraud proof designs

In interactive bisection, the proposer and challenger repeatedly split the disputed execution trace in half and agree on which half contains the error. After roughly log2 of the step count rounds, often a few dozen, only a single instruction remains. Arbitrum and the fault proof system of Optimism both rely on this approach, executing the final step in an on-chain virtual machine. Some ecosystems use the term fault proof for the same idea.

Security assumptions and the challenge period

Fraud proofs rest on a 1-of-N honesty assumption: the system is safe as long as at least one honest party watches the chain and is able to submit a challenge in time. This is much weaker than requiring an honest majority of validators, but it creates specific dependencies.

RequirementWhy it mattersWhat breaks without it
Data availabilityVerifiers must rebuild the stateFraud cannot be detected
Active watchersSomeone must notice an invalid rootInvalid roots finalize unchallenged
Censorship resistanceChallenges must reach the base chainAttackers block disputes
Sufficient windowTime to respond under congestionValid disputes arrive too late
Permissionless challengingAnyone can act as verifierSecurity depends on a small group
Conditions a fraud proof system requires

The standard challenge period of about seven days reflects the time an attacker might be able to censor or delay base chain transactions. The long window is the reason why withdrawals from optimistic rollups to Ethereum take about a week unless users pay a liquidity provider for a faster exit.

Fraud proofs compared with validity proofs

Fraud proofs and validity proofs solve the same problem, convincing a base chain that off-chain computation was correct, from opposite directions. A fraud proof shows that a result is wrong after the fact, while a validity proof, used by a ZK-rollup, shows that a result is right before it is accepted.

PropertyFraud proofValidity proof
Default assumptionValid unless challengedInvalid until proven
Finality on base layerAfter the challenge windowAfter proof verification
Normal-case costVery lowProof generation is compute-heavy
EVM compatibilityEasier to achieveHarder, improving quickly
Liveness requirementWatchers must stay onlineNo watchers needed for safety
Fraud proofs and validity proofs side by side

Neither approach is strictly superior. Fraud proofs gave optimistic rollups an earlier path to full EVM equivalence, while validity proofs offer faster withdrawals at the price of specialized proving hardware and more complex cryptography. Several projects are exploring hybrids that combine both.

Limitations and attack vectors

Fraud proof systems are effective only when they are live, permissionless and correctly implemented, and several rollups operated for years without that full set. Common weaknesses include:

  • Training wheels: some networks restricted who could submit proofs or kept an upgrade council able to override results.
  • Delay attacks: a malicious party opens many disputes to stall finality, which multi-party designs and bond sizing try to prevent.
  • Implementation bugs: an error in the on-chain virtual machine can let an invalid step pass verification.
  • Watcher apathy: if nobody runs a verifier, the 1-of-N assumption fails silently.
  • Data withholding: a proposer that hides batch data makes fraud impossible to prove.

For this reason, rollup risk assessments examine whether fraud proofs are actually enabled and who may submit them, not only whether the design includes them on paper.

Put simply

A fraud proof is like an exam that is graded only when someone complains. A helper network posts its answers, and everyone assumes they are correct. For about a week, anyone can check the work and point to a mistake.

If a complaint is right, the main blockchain looks at the exact disputed step, rejects the wrong answer and fines the cheater. One honest checker is enough to keep the system safe, which is why these networks can be fast and cheap most of the time.

In practice

A user moves 2 ETH from an optimistic rollup back to Ethereum. The rollup proposer includes the withdrawal in a batch and posts a new state root to the Ethereum settlement contract, together with a bond. Independent node operators, including exchanges and infrastructure firms, replay the batch independently and confirm that their state root matches.

Because nobody finds a discrepancy, no challenge is opened, and after the seven-day window the state root becomes final. The user then finalizes the withdrawal and receives 2 ETH on Ethereum. Had the proposer inserted a fake withdrawal, any watcher could have started a bisection game, and the invalid root would have been discarded while the proposer lost its bond.