Securing Smart Contract with Runtime Validation

被引:45
|
作者
Li, Ao [1 ]
Choi, Jemin Andrew [1 ]
Long, Fan [1 ]
机构
[1] Univ Toronto, Toronto, ON, Canada
关键词
runtime validation; smart contract; compiler;
D O I
10.1145/3385412.3385982
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
We present Solythesis, a source to source Solidity compiler which takes a smart contract code and a user specified invariant as the input and produces an instrumented contract that rejects all transactions that violate the invariant. The design of Solythesis is driven by our observation that the consensus protocol and the storage layer are the primary and the secondary performance bottlenecks of Ethereum, respectively. Solythesis operates with our novel delta update and delta check techniques to minimize the overhead caused by the instrumented storage access statements. Our experimental results validate our hypothesis that the overhead of runtime validation, which is often too expensive for other domains, is in fact negligible for smart contracts. The CPU overhead of Solythesis is only 0.1% on average for our 23 benchmark contracts.
引用
收藏
页码:438 / 453
页数:16
相关论文
共 50 条
  • [41] A Blacklisting Smart Contract
    Kruger, Byron
    Leung, Wai Sze
    BUSINESS INFORMATION SYSTEMS WORKSHOPS (BIS 2020), 2020, 394 : 120 - 131
  • [42] Smart Contract Engineering
    Hu, Kai
    Zhu, Jian
    Ding, Yi
    Bai, Xiaomin
    Huang, Jiehua
    ELECTRONICS, 2020, 9 (12) : 1 - 26
  • [43] Smart Contract Repair
    Yu, Xiao Liang
    Al-Bataineh, Omar
    Lo, David
    Roychoudhury, Abhik
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (04)
  • [44] Smart Contract Microservitization
    Wang, Siyuan
    Zhang, Xuehan
    Yu, Wei
    Hu, Kai
    Zhu, Jian
    2020 IEEE 44TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2020), 2020, : 1569 - 1574
  • [45] Smart contract tontines
    Abou Daya, Mohamad Hassan
    Bernard, Carole
    APPLIED ECONOMICS, 2024,
  • [46] Runtime Verification of Ethereum Smart Contracts
    Ellul, Joshua
    Pace, Gordon
    2018 14TH EUROPEAN DEPENDABLE COMPUTING CONFERENCE (EDCC 2018), 2018, : 158 - 163
  • [47] SMART SOLUTIONS FOR SECURING THE POWER SUPPLY OF SMART CITIES
    Molnar, Ferenc
    INTERDISCIPLINARY DESCRIPTION OF COMPLEX SYSTEMS, 2023, 21 (02) : 161 - 167
  • [48] Towards Model checking approach for Smart contract validation in the EIP-1559 Ethereum
    Ben Fekih, Rim
    Lahami, Mariem
    Jmaiel, Mohamed
    Ben Ali, Ahmed
    Genestier, Philippe
    2022 IEEE 46TH ANNUAL COMPUTERS, SOFTWARE, AND APPLICATIONS CONFERENCE (COMPSAC 2022), 2022, : 83 - 88
  • [49] Blockchain self-update smart contract for supply chain traceability with data validation
    Valencia-Payan, Cristian
    Griol, David
    Carlos Corrales, Juan
    LOGIC JOURNAL OF THE IGPL, 2024,
  • [50] Artificial Intelligence Decision and Validation Powered Smart Contract for Open Learning Content Creation
    Ako-Nai, Frederick
    Marin, Enrique de la Cal
    Tan, Qing
    BLOCKCHAIN AND APPLICATIONS, 2022, 320 : 359 - 362