Optimistic Rollups
1 min read
Pronunciation
[op-tuh-mis-tik rohl-uhps]
Analogy
Imagine a system where a trusted courier (the rollup operator) brings a batch of signed documents (transactions) to the main office (Layer 1) and declares they are all correct. The office 'optimistically' accepts them but posts them publicly for a week (the dispute period). During this week, anyone (verifiers) can inspect the documents. If they find a fraudulent one, they can sound an alarm (submit a fraud proof), and the office will then carefully check that specific document and penalize the courier if fraud is confirmed.
Definition
Key Points Intro
Optimistic Rollups improve scalability by assuming transactions are valid by default, relying on fraud proofs for security.
Key Points
Operators bundle transactions and post them to Layer 1, asserting their validity.
A challenge period allows verifiers to submit fraud proofs if they detect an invalid state transition.
If a fraud proof is successful, the incorrect transaction is reverted, and the malicious operator is penalized.
Generally easier to implement and more EVM-compatible than ZK-Rollups initially.
Withdrawals from Optimistic Rollups typically have a delay (the challenge period) to allow for fraud proofs.
Example
Technical Deep Dive
Optimistic Rollups post transaction data (or state roots) to the L1. The L1 contract maintains the rollup's state. When a new batch of transactions is submitted, it's considered pending until the challenge period (e.g., 7 days) elapses. During this time, anyone can execute a fraud proof by re-executing the disputed transaction(s) on L1 to demonstrate invalidity. This mechanism requires at least one honest verifier to be watching the rollup. The economic incentives are designed to encourage verifiers (e.g., by rewarding successful fraud proofs) and discourage malicious operators (e.g., by slashing their staked bond).
Caveat
The main drawback is the potentially long withdrawal time due to the challenge period. They also rely on the assumption that at least one honest and active verifier will detect and prove fraud if it occurs.
Optimistic Rollups - Related Articles
No related articles for this term.