What is Optimistic Rollup?
An optimistic rollup is a Layer 2 scaling solution that assumes transactions are valid by default and only runs computation if a fraud proof is submitted during a challenge period — typically 7 days.
WHY IT MATTERS
Optimistic rollups are 'optimistic' because they assume validity rather than proving it. Transactions are executed off-chain and results are posted to L1. If no one challenges the results within the challenge period (~7 days), they're considered final.
If someone detects an invalid state transition, they submit a fraud proof — demonstrating the error on L1. The invalid batch is reverted and the malicious sequencer is penalized.
The 7-day challenge period affects withdrawals to L1 — native withdrawals take a week. Third-party bridges offer faster exits for a fee by fronting the funds.