TL;DR
This "Systematization of Knowledge" (SoK) paper provides a comprehensive framework for understanding validating bridges—the core technology behind Layer 2 (L2) rollups. It breaks down how these systems inherit the security of a base layer (like Ethereum) while scaling throughput, comparing the real-world implementations of Arbitrum, Optimism, ZkSync, StarkEx, and Oasis.
What Problem Does This Paper Address?
Blockchains like Ethereum are victims of their own success, often hitting a wall at ~15 transactions per second (TPS), leading to astronomical fees. While "off-chain" solutions like state channels (e.g., Lightning Network) exist, they suffer from poor user experience, such as requiring users to be constantly online or managing "inbound capacity."
The industry has shifted toward commitchains (more commonly known as Rollups), which use a validating bridge to move computation off-chain while keeping funds secured by the L1. However, because the development of these bridges has happened at breakneck speed across Discord servers and research forums, there hasn't been a unified, academic rigorous way to compare them—until now.
Methods
The authors perform a systematic analysis and code inspection of five major scaling projects: Arbitrum, Oasis, Optimism, StarkEx, and ZkSync.
They evaluate these projects against three pillars of security:
- Data Availability (DA): How do we ensure the data needed to reconstruct the state is public?
- State Integrity: How does the L1 know the off-chain transitions are valid (Fraud Proofs vs. Validity Proofs)?
- Censorship Resistance: Can a malicious operator block a user from withdrawing their funds?
Beyond the theoretical, the authors implemented scripts to calculate the actual gas costs of these protocols on Ethereum to provide a quantitative comparison of their efficiency.
Datasets
As an SoK paper, it does not use traditional training datasets. Instead, the "data" consists of:
- Production Codebases: Direct inspection of the smart contracts for the five mentioned projects.
- Ethereum Mainnet Data: Historical gas costs and transaction data used to benchmark the operational costs of depositing, withdrawing, and committing state.
Key Insights and Ideas
- The "Fisherman’s Dilemma": The paper explains why earlier "Plasma" designs failed. If data is withheld, it’s impossible for the L1 to tell if the sequencer is malicious or if a "challenger" is just lying. This led to the "Rollup" breakthrough: posting all transaction data directly to the L1.
- Fraud Proof Granularity: There is a fascinating trade-off between One-round (Optimism) and Multi-round (Arbitrum) fraud proofs. One-round is simpler but requires the L1 to re-execute an entire transaction (expensive/limited). Multi-round uses a "bisection game" to find the exact disputed instruction, which is cheaper for the L1 but requires multiple rounds of interaction.
- The Verifier’s Dilemma: In fraud-proof systems (Optimistic Rollups), if no one ever cheats, challengers lose money on server costs and might stop watching. The paper discusses "canary protocols" (intentionally injecting errors) as a potential but complex solution.
- MEV is the New Frontier: The authors highlight that "Maximal Extractable Value" (MEV) is a major centralizing risk for L2 sequencers, as they have the power to reorder transactions for profit.
Key Results
The paper provides a landmark comparison table (Table 1 and 2) of the L2 landscape:
- Efficiency: ZkSync was found to be the cheapest for withdrawals (~15k gas) because it amortizes costs across many users, whereas Optimism was the most expensive (~516k gas) due to the complexity of its inclusion proofs.
- State Integrity: Arbitrum and Optimism rely on Fraud Proofs (optimistic), while StarkEx and ZkSync use Validity Proofs (ZK-SNARKs/STARKs).
- Data Availability: Arbitrum, Optimism, and ZkSync post data on-chain, while Oasis and StarkEx (in some configurations) use Data Availability Committees, which trade some security for significantly lower costs.
Limitations and Future Work
- Censorship Resistance is Immature: The authors note that while data availability and integrity are well-understood, censorship resistance (ensuring a user can always get out) is the least studied and most "hacky" part of current implementations.
- The "Train-and-Hotel" Problem: As we move to many different L2s, we lose "atomic composability." If you want to book a hotel on L2-A and a train on L2-B, you risk one failing while the other succeeds. Solving this cross-chain asynchrony is an open research problem.
- Upgradeability: Most current bridges are "upgradable" by a multi-sig, meaning users are still trusting a small group of humans not to change the rules. Moving toward "immutable" bridges is a critical future step.
Summary updated