Practical Smart Contract Sharding with Ownership and Commutativity Analysis
Sharding is a popular way to achieve scalability in blockchain protocols, increasing their throughput by partitioning the set of transaction validators into a number of smaller committees, splitting the workload. Existing approaches for blockchain sharding, however, do not scale well when concurrent transactions alter the same replicated state component—a common scenario in Ethereum-style smart contracts.
We propose a novel approach for efficiently sharding such transactions. It is based on a folklore idea: state-manipulating atomic operations that commute can be processed in parallel, with their cumulative result defined deterministically, while executing non-commuting operations requires one to own the state they alter. We present CoSplit—a static program analysis tool that soundly infers ownership and commutativity summaries for smart contracts and translates those summaries to sharding signatures that are used by the blockchain protocol to maximise parallelism. Our evaluation shows that using CoSplit introduces negligible overhead to the transaction validation cost, while the inferred signatures allow the system to achieve a significant increase in transaction processing throughput for real-world smart contracts.
Sat 10 DecDisplayed time zone: Auckland, Wellington change
15:30 - 17:00 | PLDI PapersCOVID Time Papers In Person at Seminar Room LG004 Chair(s): Jonathan Aldrich Carnegie Mellon University | ||
15:30 30mTalk | Behavioral simulation for smart contracts COVID Time Papers In Person Sidi Mohamed Beillahi University of Toronto, Gabriela Ciocarlie University of Texas at San Antonio, Michael Emmi Amazon Web Services, Constantin Enea Ecole Polytechnique / LIX / CNRS Link to publication DOI | ||
16:00 30mTalk | Ethainter: A Smart Contract Security Analyzer for Composite Vulnerabilities COVID Time Papers In Person Lexi Brent International Computer Science Institute, USA / University of Sydney, Australia, Neville Grech University of Malta, Sifis Lagouvardos University of Athens, Bernhard Scholz The University of Sydney, Yannis Smaragdakis University of Athens Link to publication DOI | ||
16:30 30mTalk | Practical Smart Contract Sharding with Ownership and Commutativity Analysis COVID Time Papers In Person George Pîrlea National University of Singapore, Singapore, Amrit Kumar Zilliqa Research, Ilya Sergey National University of Singapore Link to publication DOI |