Skip to content

Innovations & Emerging Trends

Back to subtopics

Layer 2 & Scalability

~4 minEasy
Optimistic vs ZK
Fraud proofs vs validity proofs.
Channels & Validiums
Off-chain updates or off-chain data with validity proofs.
DA layers
External data availability for rollups.
Detailed Notes
Key Highlights
  • Rollups: Layer 2 scaling solutions that execute transactions off-chain while posting compressed data and proofs to Layer 1, inheriting Ethereum's security while achieving 10-100x throughput improvements. Optimistic rollups use fraud proofs (assume validity unless challenged), while ZK-rollups use validity proofs (cryptographically prove correctness upfront).
  • Data Availability: The critical bottleneck in blockchain scalability is not computation but data—every node must access transaction data to verify state. Modular blockchain architectures separate consensus (ordering), execution (computation), and data availability (storage) layers, enabling specialized optimization of each component.

Blockchain scalability represents a fundamental challenge: maintaining decentralization and security while increasing throughput beyond the ~15 transactions per second typical of base layer chains. Layer 2 (L2) solutions address this through off-chain execution that inherits Layer 1 security guarantees. Rollups are the dominant L2 approach: they execute transactions off-chain in batches, compress the data, and post it to L1 along with proofs of correct execution. Optimistic rollups (Arbitrum, Optimism) assume transactions are valid unless someone submits a fraud proof within a challenge window (typically 7 days), enabling simpler EVM compatibility but requiring waiting periods for withdrawals. ZK-rollups (zkSync, Starknet) generate cryptographic validity proofs that mathematically guarantee correct execution, enabling instant finality but requiring more complex proving systems and currently limited EVM compatibility. State channels represent another L2 approach: parties lock funds in a multi-signature contract, conduct unlimited off-chain transactions updating shared state, and only touch L1 to open, close, or dispute the channel—ideal for high-frequency interactions between known parties like gaming or micropayments. Data availability emerges as a critical consideration: rollups must post transaction data to L1 for nodes to reconstruct state and verify proofs, but this data posting dominates costs. Data availability layers like Celestia or EigenDA specialize in guaranteeing data retrievability at lower cost than Ethereum L1, enabling validiums (ZK-rollups with off-chain data) and other hybrid architectures.

Rollup Types
  • Optimistic rollups: Fraud-proof based, EVM compatible, 7-day withdrawal periods
  • ZK-rollups: Validity-proof based, instant finality, complex proving systems
  • Sovereign rollups: Own consensus, use base layer only for data availability
  • Enshrined rollups: Base layer protocol natively supports L2 execution
State Channels and Sidechains
  • Channels: Off-chain state updates between parties, L1 only for disputes
  • Sidechains: Independent chains with bridges to main chain, own consensus
  • Plasma: Hierarchical side chains with fraud proofs for withdrawals
  • Validiums: ZK proofs for execution, off-chain data with availability committee
Data Availability Solutions
  • Modular DA layers: Specialized chains like Celestia for data storage
  • Data availability sampling: Light clients probabilistically verify availability
  • Committee-based DA: Trusted groups attest to data availability
  • Volitions: Users choose per-transaction between on-chain and off-chain data
Trade-offs and Considerations
  • Security: Rollups inherit L1 security, sidechains have independent security
  • Finality: ZK-rollups provide instant finality, optimistic require waiting periods
  • Cost: Off-chain data reduces fees but requires trust assumptions
  • Compatibility: Optimistic rollups support full EVM, ZK-rollups have limitations (improving)
Future Directions
  • Parallel execution: Multiple rollups or shards processing transactions simultaneously
  • Proving optimizations: Faster, cheaper ZK proofs through hardware acceleration
  • Cross-L2 communication: Standards for seamless interaction between rollups
  • Application-specific rollups: Chains optimized for gaming, DeFi, or NFTs