Specular: Towards Secure, Trust-minimized Optimistic Blockchain Execution
Zhe Ye, Ujval Misra, Jiajun Cheng, Wenyang Zhou, Dawn Song
TL;DR
Specular presents an L2-native, interactive fraud-proof ORU for Ethereum that decouples the on-chain verifier from a single L2 client by enabling opportunistic $1$-of-$N$ version programming (1-NVP). By targeting high-level EVM semantics with an L2-native IFP, Specular enables permissionless participation across multiple L2 clients and reduces the trusted computing base to a more auditable verifier, improving robustness against monoculture bugs. The implementation demonstrates feasibility by adapting two Ethereum EL clients (Geth and Erigon) with modest code changes and showing practical one-step proof sizes (roughly 558 bytes without contract bytecode) and verification costs (~109k gas per step, ~629k with contract bytecode), while attaining sub-millisecond proof generation (0.739 ms for SpecGeth) and viable cross-client interoperability. This work advances scalable Ethereum with secure, transparent upgrades and a reduced TCB, enabling more resilient and accessible L2 ecosystems through L2-native proofs and diverse client participation.
Abstract
An optimistic rollup (ORU) scales a blockchain's throughput by delegating computation to an untrusted remote chain (L2), refereeing any state claim disagreements between mutually distrusting L2 operators via an interactive dispute resolution protocol. State-of-the-art ORUs employ a monolithic dispute resolution protocol that tightly couples an L1 referee with a specific L2 client binary--oblivious to the system's higher-level semantics. We argue that this approach (1) magnifies monoculture failure risk, by precluding trust-minimized and permissionless participation using operator-chosen client software; (2) leads to an unnecessarily large and difficult-to-audit TCB; and, (3) suffers from a frequently-triggered, yet opaque upgrade process--both further increasing auditing overhead, and broadening the governance attack surface. To address these concerns, we outline a methodology for designing a secure and resilient ORU with a minimal TCB, by facilitating opportunistic 1-of-N-version programming. Due to its unique challenges and opportunities, we ground this work concretely in the context of the Ethereum ecosystem--where ORUs have gained significant traction. Specifically, we design a semantically-aware proof system, natively targeting the EVM and its instruction set. We present an implementation in a new ORU, Specular, that opportunistically leverages Ethereum's existing client diversity with minimal source modification, demonstrating our approach's feasibility.
