$\mathsf{CRATE}$: Cross-Rollup Atomic Transaction Execution
Ioannis Kaklamanis, Fan Zhang
TL;DR
CRATE addresses the lack of cross-rollup composability by enabling atomic, serializable cross-rollup transactions across distinct L1s. It extends a trigger-action framework with session tracking, chain and DAG CRT models, and a two-phase commit between Validator Smart Contracts on separate L1s, powered by an off-chain XEVM executor. The work provides formal definitions of CRTs and proves CRATE’s security, complemented by a full prototype with gas benchmarks and a cross-rollup flash loan application. Practically, CRATE achieves end-to-end finality in $4$ L1 rounds and demonstrates feasible gas costs, illustrating secure cross-rollup finance primitives without reliance on trusted intermediaries.
Abstract
Blockchains have revolutionized decentralized applications, with composability enabling atomic, trustless interactions across smart contracts. However, layer 2 (L2) scalability solutions like rollups introduce fragmentation and hinder composability. Current cross-chain protocols, including atomic swaps, bridges, and shared sequencers, lack the necessary coordination mechanisms or rely on trust assumptions, and are thus not sufficient to support full cross-rollup composability. This paper presents $\mathsf{CRATE}$, a secure protocol for cross-rollup composability that ensures all-or-nothing and serializable execution of cross-rollup transactions (CRTs). $\mathsf{CRATE}$ supports rollups on distinct layer 1 (L1) chains, achieves finality in 4 rounds on L1, and only relies on the underlying L1s and the liveness of L2s. We introduce two formal models for CRTs, define atomicity within them, and formally prove the security of $\mathsf{CRATE}$. We also provide an implementation of $\mathsf{CRATE}$ along with a cross-rollup flash loan application; our experiments demonstrate that $\mathsf{CRATE}$ is practical in terms of gas usage on L1.
