Studying gas exceptions in blockchain-based cloud applications

被引:9
|
作者
Liu, Chao [1 ]
Gao, Jianbo [1 ]
Li, Yue [1 ]
Wang, Huihui [2 ]
Chen, Zhong [1 ]
机构
[1] Peking Univ, Sch Elect Engn & Comp Sci, 5 Yiheyuan Rd, Beijing 100871, Peoples R China
[2] Jacksonville Univ, Dept Engn, Jacksonville, FL 32211 USA
基金
中国国家自然科学基金;
关键词
Cloud application; Blockchain; Ethereum; Runtime exception; Out of gas; Empirical study;
D O I
10.1186/s13677-020-00176-9
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Blockchain-based cloud application (BCP) is an emerging cloud application architecture. By moving trust-critical functions onto blockchain, BCP offers unprecedented function transparency and data integrity. Ethereum is by far the most popular blockchain platform chosen for BCP. In Ethereum, special programs named smart contracts are often used to implement key components for BCP. By design, users can send transactions to smart contracts, which will automatically lead to code execution and state modification. However, unlike regular programs, smart contracts are restricted in execution by gas limit, i.e., a form of runtime resource. If a transaction uses up all available gas, an out of gas exception (OG) will trigger, reverting state until right before that transaction.In this work, we study the out of gas exceptions (or gas exceptions in short) on Ethereum empirically for the very first time. In particular, we collect exception transactions using an instrumented Ethereum client. By investigation, we found gas exceptions stand out in terms of both occurrences and losses. Moreover, we focused on individual contracts and transactions, aiming at discovering and identifying common causing factors triggering these exceptions. At last, we also investigate existing tools in preventing gas exceptions. Our results suggest further research and study in this direction.
引用
收藏
页数:25
相关论文
共 50 条
  • [41] BACC: Blockchain-Based Access Control For Cloud Data
    Sohrabi, Nasrin
    Yi, Xun
    Tari, Zahir
    Khalil, Ibrahim
    PROCEEDINGS OF THE AUSTRALASIAN COMPUTER SCIENCE WEEK MULTICONFERENCE (ACSW 2020), 2020,
  • [42] Container Scheduling in Blockchain-based Cloud Service Platform
    Lei, Yu
    Yu, Philip S.
    2020 IEEE INTL SYMP ON PARALLEL & DISTRIBUTED PROCESSING WITH APPLICATIONS, INTL CONF ON BIG DATA & CLOUD COMPUTING, INTL SYMP SOCIAL COMPUTING & NETWORKING, INTL CONF ON SUSTAINABLE COMPUTING & COMMUNICATIONS (ISPA/BDCLOUD/SOCIALCOM/SUSTAINCOM 2020), 2020, : 976 - 983
  • [43] An Anonymous Blockchain-Based Logging System for Cloud Computing
    Liu, Ji-Yao
    He, Yun-Hua
    Wang, Chao
    Hu, Yan
    Li, Hong
    Sun, Li-Min
    BLOCKCHAIN AND TRUSTWORTHY SYSTEMS, BLOCKSYS 2019, 2020, 1156 : 288 - 301
  • [44] A survey on blockchain-based integrity auditing for cloud data
    Han, Haoxiang
    Fei, Shufan
    Yan, Zheng
    Zhou, Xiaokang
    DIGITAL COMMUNICATIONS AND NETWORKS, 2022, 8 (05) : 591 - 603
  • [45] A Blockchain-Based Access Control System for Cloud Storage
    Sukhodolskiy, Ilya
    Zapechnikov, Sergey
    PROCEEDINGS OF THE 2018 IEEE CONFERENCE OF RUSSIAN YOUNG RESEARCHERS IN ELECTRICAL AND ELECTRONIC ENGINEERING (EICONRUS), 2018, : 1575 - 1578
  • [46] CBPKI: Cloud Blockchain-based Public Key Infrastructure
    Khieu, Brian
    Moh, Melody
    PROCEEDINGS OF THE 2019 ANNUAL ACM SOUTHEAST CONFERENCE (ACMSE 2019), 2019, : 58 - 63
  • [47] Blockchain-based decentralized architecture for cloud storage system
    Sharma P.
    Jindal R.
    Borah M.D.
    Journal of Information Security and Applications, 2021, 62
  • [48] Blockchain-Based Energy Applications: The DSO Perspective
    Yagmur, Ahmet
    Dedeturk, Beyhan Adanur
    Soran, Ahmet
    Jung, Jaesung
    Onen, Ahmet
    IEEE ACCESS, 2021, 9 : 145605 - 145625
  • [49] A first look at blockchain-based decentralized applications
    Wu, Kaidong
    Ma, Yun
    Huang, Gang
    Liu, Xuanzhe
    SOFTWARE-PRACTICE & EXPERIENCE, 2021, 51 (10): : 2033 - 2050
  • [50] Architectural Design Decisions for Blockchain-Based Applications
    Woehrer, Maximilian
    Zdun, Uwe
    2021 IEEE INTERNATIONAL CONFERENCE ON BLOCKCHAIN AND CRYPTOCURRENCY (ICBC), 2021,