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 条
  • [1] Studying gas exceptions in blockchain-based cloud applications
    Chao Liu
    Jianbo Gao
    Yue Li
    Huihui Wang
    Zhong Chen
    Journal of Cloud Computing, 9
  • [2] Blockchain-based Volunteer Edge Cloud for IoT Applications
    Zhou, Ming-Tuo
    Shen, Feng-Guo
    Ren, Tian-Feng
    Feng, Xin-Yu
    2021 IEEE 93RD VEHICULAR TECHNOLOGY CONFERENCE (VTC2021-SPRING), 2021,
  • [3] An Architecture for Blockchain-Based Cloud Banking
    Do, Thuat
    INTELLIGENT COMPUTING, VOL 2, 2021, 284 : 805 - 824
  • [4] EduBloud: A Blockchain-based Education Cloud
    Wang, Guiyan
    Zhang, Hongbo
    Xiao, Bowen
    Chung, Yeh-Ching
    Cai, Wei
    2019 COMPUTING, COMMUNICATIONS AND IOT APPLICATIONS (COMCOMAP), 2019, : 352 - 357
  • [5] Blockchain-Based Cloud Manufacturing: Decentralization
    Barenji, Ali Vatankhah
    Guo, Hanyang
    Tian, Zonggui
    Li, Zhi
    Wang, W. M.
    Huang, George Q.
    TRANSDISCIPLINARY ENGINEERING METHODS FOR SOCIAL INNOVATION OF INDUSTRY 4.0, 2018, 7 : 1003 - 1011
  • [6] Blockchain Oracles: A Framework for Blockchain-Based Applications
    Mammadzada, Kamran
    Iqbal, Mubashar
    Milani, Fredrik
    Garcia-Banuelos, Luciano
    Matulevicius, Raimundas
    BUSINESS PROCESS MANAGEMENT: BLOCKCHAIN AND ROBOTIC PROCESS AUTOMATION FORUM, BPM 2020 BLOCKCHAIN AND RPA FORUM, 2020, 393 : 19 - 34
  • [7] A Blockchain-based Process Provenance for Cloud Forensics
    Zhang, Yong
    Wu, Songyang
    Jin, Bo
    Du, Jiaying
    PROCEEDINGS OF 2017 3RD IEEE INTERNATIONAL CONFERENCE ON COMPUTER AND COMMUNICATIONS (ICCC), 2017, : 2470 - 2473
  • [8] Blockchain-based solutions for cloud computing: A survey
    Dorsala, Mallikarjun Reddy
    Sastry, V. N.
    Chapram, Sudhakar
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2021, 196
  • [9] Review on Blockchain-based Cloud Task Scheduling
    Almezeini, Nora
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2020, 20 (10): : 137 - 140
  • [10] Flexible and Efficient Blockchain-Based Cloud Storage
    Pan, Ying-yu
    Li, Yi
    Gao, Ce-yu
    Fang, Li
    Chen, Ping
    2021 IEEE 14TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (CLOUD 2021), 2021, : 304 - 312