Optimistic rollups represent one of the most significant advances in blockchain scalability. By moving computation off the main chain while retaining the security guarantees of the underlying Layer-1, they achieve a practical balance between throughput and trust minimization.
Optimistic rollups assume innocence until guilt is proven -- a philosophical inversion of the zero-knowledge approach, where validity must be demonstrated before acceptance.
How They Work
An optimistic rollup operates by executing transactions on a separate chain (the Layer-2) and periodically posting compressed transaction data back to the Layer-1 as calldata. The key insight is that the Layer-1 contract does not re-execute these transactions. Instead, it optimistically assumes all posted state roots are correct.
A challenge window (typically 7 days) allows any observer to submit a fraud proof if they detect an invalid state transition. If the challenge succeeds, the invalid batch is reverted. This mechanism provides security equivalent to Layer-1 execution, with the trade-off of delayed finality.
Key Properties
The throughput improvement comes from two sources: compressed transaction data reduces on-chain storage costs, and off-chain execution eliminates the gas overhead of Layer-1 computation. Current implementations achieve 10-100x cost reduction compared to direct Layer-1 execution.
The security model of an optimistic rollup is only as strong as the liveness of its fraud proof submitters. At least one honest verifier must be active during every challenge window.
Implementations
Optimism uses a single-round fraud proof system with an interactive verification game. Arbitrum employs a multi-round interactive fraud proof that narrows the dispute to a single instruction. Both approaches achieve the same security guarantee through different verification strategies, each with distinct trade-offs in proof cost and resolution time.