Overview: Permissionless State Verification for Optimistic Rollups
Optimistic rollups execute transactions off-chain and post compressed transaction batches plus state output proposals to Ethereum Layer 1. For the rollup to inherit Ethereum settlement guarantees without requiring Layer 1 nodes to re-execute every transaction, anyone must be able to challenge an invalid Layer 2 state commitment and prove the discrepancy on-chain. The OP Stack Fault Proof System provides this trust-minimized arbitration layer across Optimism and Superchain networks.
Replacing legacy centralized output proposers, the OP Stack fault proof architecture combines an interactive binary-search Fault Dispute Game (FDG), a deterministic Fault Proof Program (op-program), and Cannon, an instruction-level Fault Proof Virtual Machine (FPVM). As documented in the OP Stack Fault Proof specifications, this separation allows arbitrary Go-based rollup derivation and EVM execution code to be verified down to a single CPU instruction inside Ethereum smart contracts.
Core Components of the OP Stack Fault Proof Architecture
The fault proof pipeline separates off-chain execution from on-chain dispute resolution across five cooperating components:
DisputeGameFactory: An on-chain Ethereum factory contract that creates, indexes, and tracks individual dispute game instances via a standardized game type registry (supporting permissionlessFaultDisputeGame,PermissionedDisputeGamefallbacks, and multi-proof VM extensions).FaultDisputeGame(FDG): An on-chain smart contract encoding a directed acyclic graph (DAG) of claims structured as a binary bisection tree. Participants post ETH bonds alongside claims to incentivize honest challenges and deter spam.op-program: The deterministic Layer 2 state transition function compiled for the target FPVM architecture. It reads Layer 1 block data, batcher transactions, and prior Layer 2 state via a preimage interface to derive and execute Layer 2 blocks identically toop-nodeandop-geth.- Cannon (
mipsevm&MIPS.sol/MIPS64.sol): Optimism's primary Fault Proof Virtual Machine. An off-chain Go emulator generates execution trace witnesses, while an on-chain Solidity verifier evaluates a single disputed MIPS instruction at the leaf of the game tree. PreimageOracle.sol&op-challenger:PreimageOracle.solacts as a content-addressed key-value store supplying Layer 1 headers, blobs, and trie nodes on-chain, whileop-challengeris the autonomous off-chain watchtower agent that monitors proposals, defends honest claims, and counters invalid roots.
Fault Dispute Game Mechanics: Bisection and Chess Clocks
Re-executing millions of Layer 2 gas units inside a single Ethereum transaction is impossible within Layer 1 block gas limits. Instead, the Fault Dispute Game uses interactive bisection to isolate disagreement down to a single computational step before invoking on-chain VM execution.
Two-Phase Game Tree (SPLIT_DEPTH and MAX_GAME_DEPTH)
- Macro Output-Root Bisection (Depth 0 to
SPLIT_DEPTH): On production OP Mainnet configurations,SPLIT_DEPTHis set to 30. Above and at this depth, claims represent full Layer 2 output roots spanning intervals of blocks between an agreed anchor state and the disputed root claim. Challengers and defenders bisect the block range until they isolate the exact disputed Layer 2 block transition. - Micro Execution-Trace Bisection (
SPLIT_DEPTH + 1toMAX_GAME_DEPTH): Below depth 30 down toMAX_GAME_DEPTH(configured at 73 on OP Mainnet), claims represent intermediate state commitments inside Cannon's MIPS execution trace for that single block transition. Each move halves the remaining instruction interval until reaching a single MIPS instruction step at depth 73. - Subgame Resolution: Every claim in the DAG acts as the root of a subgame evaluated bottom-up after clocks expire. A claim is countered successfully only if at least one child counter-claim resolves as uncountered (valid).
Chess-Clock Timing and Anti-Griefing Rules
To prevent attackers from stalling withdrawal finality indefinitely while giving honest defenders enough time to respond, the Fault Dispute Game enforces a dual-team chess clock:
MAX_CLOCK_DURATION(3.5 Days): Each side (defender or challenger) holds a cumulative chess clock capped at 3.5 days (302,400 seconds). Combined with the post-resolution withdrawal delay, this fits within the standard 7-day optimistic challenge window.CLOCK_EXTENSION(3 Hours / 10,800 Seconds): Per the Fault Dispute Game specification, if a move occurs when the potential grandchild clock has less thanCLOCK_EXTENSIONremaining, it is grantedCLOCK_EXTENSIONseconds (orCLOCK_EXTENSION * 2when initializing an execution-trace bisection root atSPLIT_DEPTH + 1), preventing timeout attacks at deep tree boundaries.- Bond Escalation and Slashing: Every claim requires an ETH bond scaled to tree depth to cover Layer 1 gas costs for counters and final VM steps. Winning subgames reimburse honest actors and confiscate dishonest bonds.
Cannon FPVM and PreimageOracle Data Verification
Compiling an entire Ethereum execution client (op-geth) and rollup derivation pipeline (op-node) directly into Solidity is infeasible. Cannon solves this by compiling op-program (written in Go) to a standard instruction set architecture (evolving from 32-bit MIPS.sol to multithreaded 64-bit MIPS64.sol) whose state transitions are simple enough to implement deterministically in Solidity.
| Architecture Layer | Component | Role in Verification Pipeline |
|---|---|---|
| Off-Chain Prover / Watchtower | op-challenger + Cannon mipsevm |
Simulates op-program step-by-step, hashes VM memory/registers, and responds to bisection steps |
| On-Chain Game Arbitrator | FaultDisputeGame.sol |
Tracks DAG claims, manages ETH bonds, enforces chess clocks, and resolves subgames |
| On-Chain Single-Step VM | MIPS.sol / MIPS64.sol |
Executes exactly one MIPS instruction using pre-state Merkle witnesses at MAX_GAME_DEPTH |
| Content-Addressed Inputs | PreimageOracle.sol |
Verifies Keccak256, SHA-256, and EIP-4844 blob preimages requested by op-program during execution |
| Multi-Proof Diversification | Asterisc (RISC-V) & ZK Fault Proofs | Decouples the FDG interface from MIPS so alternative FPVMs or ZK proofs can challenge/verify independently |
When op-program executes a read syscall for an external input (such as a Layer 1 block hash, blob point evaluation, or state trie node), Cannon maps that request to a deterministic key in PreimageOracle.sol. Small preimages are loaded directly in one transaction, while oversized preimages use a Large Preimage Proposal (LPP) challengeable streaming flow using Keccak state commitments so gas costs remain bounded on Layer 1.
Protocol Economics, Withdrawal Finality, and Stage 1 Governance
Although fault proofs do not alter native ETH or OP token issuance schedules, they fundamentally change rollup economic security and withdrawal finality:
- Stage 1 Decentralization Milestone (June 10, 2024): Per the Optimism Fault Proofs documentation, Fault Proofs officially launched on OP Mainnet on June 10, 2024, allowing any bonded participant to propose and challenge L2 state roots and fulfilling core Stage 1 rollup decentralization criteria.
- Comparison with Arbitrum Bold: Whereas Arbitrum separates time-bound assertions through BoLD (Bounded Liquidity Delay) to prevent delay attacks by capping total dispute latency across all participants, OP Stack FDG pairs per-branch chess clocks with escalating ETH bonds and Security Council guardian safety hatches.
- Blob and Derivation Coupling: Because OP Stack chains rely on Ethereum EIP-4844 blobs (and future PeerDAS / EIP-7594 scaling) for transaction data availability,
PreimageOracle.soluses Ethereum's point-evaluation precompile to prove KZG blob data inside the MIPS trace without loading entire 131,072-byte (128 KiB) blobs on-chain at once.
Objective Risks and Engineering Trade-Offs
- Single-Client / Single-VM Bug Exposure: Until diverse multi-proof systems (such as Asterisc RISC-V and ZK validity fault proofs) operate in production parity with Cannon, a consensus or compiler bug in
op-programorMIPS64.solcould produce an erroneous state transition. - Security Council Guardian Override: During Stage 1 operation, the Optimism Security Council retains Guardian privileges to pause withdrawals, blacklist compromised dispute games, or fall back to
PermissionedDisputeGameduring emergencies, meaning ultimate trust-minimization remains transitional until Stage 2. - Layer 1 Gas Congestion During Mass Disputes: If Ethereum Layer 1 gas spikes severely during an active attack with many parallel dispute games, honest challengers must still post bonds and execute bisection moves before
MAX_CLOCK_DURATIONexpires, making bond calibration andCLOCK_EXTENSIONcritical liveness parameters. - Memory Witness Size and Preimage Gas Costs: Generating and uploading 32-bit or 64-bit MIPS memory Merkle proofs and large preimages requires careful optimization in
op-challengerto keep single-step resolution profitable relative to posted bonds.
Primary Technical References
- OP Stack Fault Dispute Game Specification: Formal specification for
SPLIT_DEPTH,MAX_GAME_DEPTH, chess clocks, bonds, and subgame resolution (specs.optimism.io/fault-proof/stage-one/fault-dispute-game.html). - Cannon Fault Proof VM Specification: Off-chain
mipsevmemulator, on-chainMIPS.sol/MIPS64.solsingle-step verifier, andPreimageOraclecontract design (specs.optimism.io/fault-proof/cannon-fault-proof-vm.html). - Optimism Fault Proofs Documentation: High-level architectural overview of permissionless proposals, challenging, and Security Council fallback mechanics (docs.optimism.io/stack/fault-proofs/explainer).
- OP Stack Reference Monorepo: Production Solidity contracts and Go implementations (
op-program,op-challenger, Cannon) (github.com/ethereum-optimism/optimism).
Conclusion
The OP Stack Fault Proof architecture transforms optimistic rollup verification from a trusted multisig attestation into an open, bonded bisection protocol backed by deterministic MIPS execution. By splitting macro output-root disputes from micro instruction-level arbitration via SPLIT_DEPTH, bounding liveness with chess clocks, and decoupling data verification through PreimageOracle.sol, Cannon and the Fault Dispute Game establish the technical foundation for trust-minimized interoperability across the Superchain.