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 条
  • [31] Merkle Tree and Blockchain-Based Cloud Data Auditing
    Mohan, Arun Prasad
    Asfak, Mohamed R.
    Gladston, Angelin
    INTERNATIONAL JOURNAL OF CLOUD APPLICATIONS AND COMPUTING, 2020, 10 (03) : 54 - 66
  • [32] Blockchain-based IoT-Cloud Authorization and Delegation
    Tapas, Nachiket
    Merlino, Giovanni
    Longo, Francesco
    2018 IEEE INTERNATIONAL CONFERENCE ON SMART COMPUTING (SMARTCOMP 2018), 2018, : 411 - 416
  • [33] A survey on blockchain-based integrity auditing for cloud data
    Haoxiang Han
    Shufan Fei
    Zheng Yan
    Xiaokang Zhou
    Digital Communications and Networks, 2022, 8 (05) : 591 - 603
  • [34] A Blockchain-based Decentralized Cloud Resource Scheduling Architecture
    Zhu, He
    Wang, Yichuan
    Hei, Xinhong
    Ji, Wenjiang
    Zhang, Li
    2018 INTERNATIONAL CONFERENCE ON NETWORKING AND NETWORK APPLICATIONS (NANA), 2018, : 324 - 329
  • [35] Blockchain-Based Decentralized Public Auditing for Cloud Storage
    Shu, Jiangang
    Zou, Xing
    Jia, Xiaohua
    Zhang, Weizhe
    Xie, Ruitao
    IEEE TRANSACTIONS ON CLOUD COMPUTING, 2022, 10 (04) : 2366 - 2380
  • [36] Blockchain-Based Offline Auditing for the Cloud in Vehicular Networks
    Yu, Haiyang
    Yang, Zhen
    Tu, Shanshan
    Waqas, Muhammad
    Liu, Huan
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2022, 19 (03): : 2944 - 2956
  • [37] A blockchain-based service composition architecture in cloud manufacturing
    Yu, Chunxia
    Zhang, Luping
    Zhao, Wenfan
    Zhang, Sicheng
    INTERNATIONAL JOURNAL OF COMPUTER INTEGRATED MANUFACTURING, 2020, 33 (07) : 701 - 715
  • [38] A Blockchain-based Trustworthy Cloud Services Digital Ecosystem
    Bellini, Emanuele
    Aversa, Iolanda
    Cimato, Stelvio
    Esposito, Antonio
    2022 IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND RESILIENCE (IEEE CSR), 2022, : 118 - 124
  • [39] Blockchain-based Security Architecture for Distributed Cloud Storage
    Li, Jiaxing
    Liu, Zhusong
    Chen, Long
    Chen, Pinghua
    Wu, Jigang
    2017 15TH IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS AND 2017 16TH IEEE INTERNATIONAL CONFERENCE ON UBIQUITOUS COMPUTING AND COMMUNICATIONS (ISPA/IUCC 2017), 2017, : 408 - 411
  • [40] Intelligent Resource Management in Blockchain-Based Cloud Datacenters
    Xu, Chenhan
    Wang, Kun
    Guo, Mingyi
    IEEE CLOUD COMPUTING, 2017, 4 (06): : 50 - 59