YODA: Enabling computationally intensive contracts on blockchains with Byzantine and Selfish nodes
Sourav Das, Vinay Joseph Ribeiro, Abhijeet Anand
Abstract
One major shortcoming of permissionless blockchains such as Bitcoin and Ethereum is that they are unsuitable for running Computationally Intensive smart Contracts (CICs). This prevents such blockchains from running Machine Learning algorithms, Zero-Knowledge proofs, etc. which may need non-trivial computation. In this paper, we present YODA, which is to the best of our knowledge the first solution for efficient computation of CICs in permissionless blockchains with guarantees for a threat model with both Byzantine and selfish nodes. YODA selects one or more execution sets (ES) via Sortition to execute a particular CIC off-chain. One key innovation is the MultI-Round Adaptive Consensus using Likelihood Estimation (MIRACLE) algorithm based on sequential hypothesis testing. M I RACLE allows the execution sets to be small thus making YODA efficient while ensuring correct CIC execution with high probability. It adapts the number of ES sets automatically depending on the concentration of Byzantine nodes in the system and is optimal in terms of the expected number of ES sets used in certain scenarios. Through a suite of economic incentives and technical mechanisms such as the novel Randomness Inserted Contract Execution (RICE) algorithm, we force selfish nodes to behave honestly. We also prove that the honest behavior of selfish nodes is an approximate Nash Equilibrium. We present the system design and details of YODA and prove the security properties of MIRACLE and RICE. Our prototype implementation built on top of Ethereum demonstrates the ability of YODA to run CICs with orders of magnitude higher gas per unit time as well as total gas requirements than Ethereum currently supports. It also demonstrates the low overheads of RICE.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Spurt: Scalable Distributed Randomness Beacon with Transparent Setup cites A Secure Sharding Protocol For Open Blockchains
- Spurt: Scalable Distributed Randomness Beacon with Transparent Setup cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
- Spurt: Scalable Distributed Randomness Beacon with Transparent Setup cites RapidChain: Scaling Blockchain via Full Sharding
- OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding cites A Secure Sharding Protocol For Open Blockchains
- Forerunner: Constraint-based Speculative Transaction Execution for Ethereum cites A Secure Sharding Protocol For Open Blockchains
- Forerunner: Constraint-based Speculative Transaction Execution for Ethereum cites Arbitrum: Scalable, private smart contracts
- Forerunner: Constraint-based Speculative Transaction Execution for Ethereum cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
- Bitcontracts: Supporting Smart Contracts in Legacy Blockchains cites Arbitrum: Scalable, private smart contracts
- Bitcontracts: Supporting Smart Contracts in Legacy Blockchains cites ACE: Asynchronous and Concurrent Execution of Complex Smart Contracts
- ACE: Asynchronous and Concurrent Execution of Complex Smart Contracts cites Arbitrum: Scalable, private smart contracts
- ACE: Asynchronous and Concurrent Execution of Complex Smart Contracts cites OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding
Cited by top-tier papers4
- Spurt: Scalable Distributed Randomness Beacon with Transparent SetupSourav Das, Vinith Krishnan, Irene Miriam Isaac, Ling RenS&P 2022 · 80 citations
- Forerunner: Constraint-based Speculative Transaction Execution for EthereumYang Chen, Zhongxin Guo, Runhuai Li, Shuo Chen et al.SOSP 2021 · 18 citations
- ACE: Asynchronous and Concurrent Execution of Complex Smart ContractsKarl Wüst, Sinisa Matetic, Silvan Egli, Kari Kostiainen et al.CCS 2020 · 12 citations
- Bitcontracts: Supporting Smart Contracts in Legacy BlockchainsKarl Wüst, Loris Diana, Kari Kostiainen, Ghassan Karame et al.NDSS 2021
Builds on8
- A Secure Sharding Protocol For Open BlockchainsLoi Luu, Viswesh Narayanan, Chaodong Zheng, Kunal Baweja et al.CCS 2016 · 1,392 citations
- OmniLedger: A Secure, Scale-Out, Decentralized Ledger via ShardingEleftherios Kokoris-Kogias, Philipp Jovanovic, Linus Gasser, Nicolas Gailly et al.S&P 2018 · 1,145 citations
- RapidChain: Scaling Blockchain via Full ShardingMahdi Zamani, Mahnush Movahedi, Mariana RaykovaCCS 2018 · 1,084 citations
- Town Crier: An Authenticated Data Feed for Smart ContractsFan Zhang, Ethan Cecchetti, Kyle Croman, Ari Juels et al.CCS 2016 · 668 citations
- Arbitrum: Scalable, private smart contractsHarry A. Kalodner, Steven Goldfeder, Xiaoqi Chen, S. Matthew Weinberg et al.USENIX Security 2018 · 353 citations
Related papers
- ACon2: Adaptive Conformal Consensus for Provable Blockchain OraclesSangdon Park, Osbert Bastani, Taesoo KimUSENIX Security 2023
- Towards Practical Committee Sizes in YOSO MPCPawel Kedzior, Marcin Mielniczuk, Daniele VenturiCRYPTO 2026
- MIRAGE: Succinct Arguments for Randomized Algorithms with Applications to Universal zk-SNARKsAhmed E. Kosba, Dimitrios Papadopoulos, Charalampos Papamanthou, Dawn SongUSENIX Security 2020
- POSE: Practical Off-chain Smart Contract ExecutionTommaso Frassetto, Patrick Jauernig, David Koisser, David Kretzler et al.NDSS 2023
- Efficient Publicly Verifiable 2PC over a Blockchain with Applications to Financially-Secure ComputationsRuiyu Zhu, Changchang Ding, Yan HuangCCS 2019 · 21 citations
