Write a Blog >>
ESEC/FSE 2021
Thu 19 - Sat 28 August 2021 Clowdr Platform
Wed 25 Aug 2021 19:10 - 19:20 - Dependability—Blockchain 1 Chair(s): Luciano Baresi
Thu 26 Aug 2021 07:10 - 07:20 - Dependability—Blockchain 1 Chair(s): John Grundy

Since the emergence of Ethereum, blockchain-based decentralized applications (DApps) have become increasingly popular and important. To balance the security, performance, and costs, a DApp typically consists of two layers: an on-chain layer to execute transactions and store crucial data on the blockchain and an off-chain layer to interact with users. A DApp needs to synchronize its off-chain layer with the on-chain layer proactively. Otherwise, the inconsistent data in the off-chain layer could mislead users and cause undesirable consequences, e.g., loss of transaction fees. However, transactions sent to the blockchain are not guaranteed to be executed and could even be reversed after execution due to chain reorganization. Such non-determinism in the transaction execution is unique to blockchain. DApp developers may fail to perform the on-chain-off-chain synchronization accurately due to their lack of familiarity with the complex transaction lifecycle.
In this work, we investigate the challenges of synchronizing on-chain and off-chain data in Ethereum-based DApps. We present two types of bugs that could result in inconsistencies between the on-chain and off-chain layers. To help detect such on-chain-off-chain synchronization bugs, we introduce a state transition model to guide the testing of DApps and propose two effective oracles to facilitate the automatic identification of bugs. We build the first testing framework, ÐArcher, to detect on-chain-off-chain synchronization bugs in DApps. We have evaluated ÐArcher on 11 popular real-world DApps. ÐArcher achieves high precision (99.3%), recall (87.6%), and accuracy (89.4%) in bug detection and significantly outperforms the baseline methods. It has found 15 real bugs in the 11 DApps. So far, six of the 15 bugs have been confirmed by the developers, and three have been fixed. These promising results demonstrate the usefulness of ÐArcher.

Wed 25 Aug

Displayed time zone: Athens change

19:00 - 20:00
Dependability—Blockchain 1Journal First / Research Papers / Industry Papers +12h
Chair(s): Luciano Baresi Politecnico di Milano
19:00
10m
Paper
Checking Smart Contracts with Structural Code Embedding
Journal First
Zhipeng Gao Monash University, Lingxiao Jiang Singapore Management University, Xin Xia Huawei Technologies, David Lo Singapore Management University, John Grundy Monash University
19:10
10m
Paper
ÐArcher: Detecting On-Chain-Off-Chain Synchronization Bugs in Decentralized ApplicationsArtifacts FunctionalArtifacts Available
Research Papers
Wuqi Zhang Hong Kong University of Science and Technology, Lili Wei Hong Kong University of Science and Technology, Shuqing Li Southern University of Science and Technology, Yepang Liu Southern University of Science and Technology, Shing-Chi Cheung Hong Kong University of Science and Technology
DOI Pre-print
19:20
10m
Paper
Making Smart Contract Development More Secure and Easier
Industry Papers
Meng Ren Tsinghua University, Fuchen Ma Tsinghua University, Zijing Yin Tsinghua University, Ying Fu Ant Group, Huizhong Li WeBank, Wanli Chang University of York, Yu Jiang Tsinghua University
DOI
19:30
30m
Live Q&A
Q&A (Dependability—Blockchain 1)
Research Papers

Thu 26 Aug

Displayed time zone: Athens change

07:00 - 08:00
Dependability—Blockchain 1Industry Papers / Journal First / Research Papers
Chair(s): John Grundy Monash University
07:00
10m
Paper
Checking Smart Contracts with Structural Code Embedding
Journal First
Zhipeng Gao Monash University, Lingxiao Jiang Singapore Management University, Xin Xia Huawei Technologies, David Lo Singapore Management University, John Grundy Monash University
07:10
10m
Paper
ÐArcher: Detecting On-Chain-Off-Chain Synchronization Bugs in Decentralized ApplicationsArtifacts FunctionalArtifacts Available
Research Papers
Wuqi Zhang Hong Kong University of Science and Technology, Lili Wei Hong Kong University of Science and Technology, Shuqing Li Southern University of Science and Technology, Yepang Liu Southern University of Science and Technology, Shing-Chi Cheung Hong Kong University of Science and Technology
DOI Pre-print
07:20
10m
Paper
Making Smart Contract Development More Secure and Easier
Industry Papers
Meng Ren Tsinghua University, Fuchen Ma Tsinghua University, Zijing Yin Tsinghua University, Ying Fu Ant Group, Huizhong Li WeBank, Wanli Chang University of York, Yu Jiang Tsinghua University
DOI
07:30
30m
Live Q&A
Q&A (Dependability—Blockchain 1)
Research Papers