Rollups have emerged as a promising approach to improving blockchains' scalability by offloading transactions execution off-chain. Existing rollup solutions either leverage complex zero-knowledge proofs or optimistically assume execution correctness unless challenged. However, these solutions suffer from high gas costs and significant withdrawal delays, hindering their adoption in decentralized applications. This paper introduces TEERollup, an efficient rollup protocol that leverages Trusted Execution Environments (TEEs) to achieve both low gas costs and short withdrawal delays. Sequencers (system participants) execute transactions within TEEs and upload signed execution results to the blockchain with confidential keys of TEEs. Unlike most TEE-assisted blockchain designs, TEERollup adopts a practical threat model where the integrity and availability of TEEs may be compromised. To address these issues, we first introduce a distributed system of sequencers with heterogeneous TEEs, ensuring system security even if a certain proportion of TEEs are compromised. Second, we propose a challenge mechanism to solve the redeemability issue caused by TEE unavailability. Furthermore, TEERollup incorporates Data Availability Providers (DAPs) to reduce on-chain storage overhead and uses a laziness penalty mechanism to regulate DAP behavior. We implement a prototype of TEERollup in Golang, using the Ethereum test network, Sepolia. Our experimental results indicate that TEERollup outperforms zero-knowledge rollups (ZK-rollups), reducing on-chain verification costs by approximately 86% and withdrawal delays to a few minutes.
翻译:Rollup作为一种通过将交易执行转移至链下来提升区块链可扩展性的方案,已展现出巨大潜力。现有的Rollup解决方案要么依赖复杂的零知识证明,要么乐观地假设执行正确性除非受到挑战。然而,这些方案存在高Gas成本和显著的提款延迟问题,阻碍了其在去中心化应用中的广泛采用。本文提出TEERollup,一种利用可信执行环境(TEE)实现低Gas成本和短提款延迟的高效Rollup协议。排序器(系统参与者)在TEE内执行交易,并使用TEE的机密密钥将签名的执行结果上传至区块链。与多数基于TEE的区块链设计不同,TEERollup采用了一种更贴近实际的威胁模型,即TEE的完整性和可用性可能受到破坏。为解决这些问题,我们首先引入基于异构TEE的分布式排序器系统,确保即使部分TEE被攻破,系统安全性仍能得到保障。其次,我们提出一种挑战机制,以解决因TEE不可用导致的赎回问题。此外,TEERollup引入了数据可用性提供者(DAP)以降低链上存储开销,并采用惰性惩罚机制来规范DAP行为。我们在Golang中实现了TEERollup的原型系统,并在以太坊测试网络Sepolia上进行了实验。结果表明,TEERollup性能优于零知识Rollup(ZK-rollup),将链上验证成本降低了约86%,并将提款延迟缩短至数分钟。