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 条
  • [21] A Review of Blockchain-Based Applications and Challenges
    Pratima Sharma
    Rajni Jindal
    Malaya Dutta Borah
    Wireless Personal Communications, 2022, 123 : 1201 - 1243
  • [22] Blockchain-Based Applications in Neurological Surgery
    Mohamed, Ali A.
    Flynn, Garrett
    Lucke-Wold, Brandon
    WORLD NEUROSURGERY, 2024, 191 : 245 - 253
  • [23] A Review of Blockchain-Based Applications and Challenges
    Sharma, Pratima
    Jindal, Rajni
    Borah, Malaya Dutta
    WIRELESS PERSONAL COMMUNICATIONS, 2022, 123 (02) : 1201 - 1243
  • [24] A Blockchain-Based Model for Cloud Service Quality Monitoring
    Taghavi, Mona
    Bentahar, Jamal
    Otrok, Hadi
    Bakhtiyari, Kaveh
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2020, 13 (02) : 276 - 288
  • [25] Blockchain-based Integrity Protection System for Cloud Storage
    Sharma, Pratima
    Jindal, Rajni
    Borah, Malaya Dutta
    2019 4TH TECHNOLOGY INNOVATION MANAGEMENT AND ENGINEERING SCIENCE INTERNATIONAL CONFERENCE (TIMES-ICON), 2019,
  • [26] A blockchain-based security model for cloud accounting data
    Gou C.
    Deng X.
    International Journal of Ambient Computing and Intelligence, 2023, 14 (01)
  • [27] Controllable and trustworthy blockchain-based cloud data management
    Zhu, Liehuang
    Wu, Yulu
    Gai, Keke
    Choo, Kim-Kwang Raymond
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2019, 91 : 527 - 535
  • [28] A Blockchain-Based Collaborative Auditing Scheme for Cloud Storage
    Xiao, Jie
    Huang, Hui
    Wu, Chenhuang
    Chen, Qunshan
    Huang, Zhenjie
    CYBERSPACE SAFETY AND SECURITY, CSS 2022, 2022, 13547 : 147 - 159
  • [29] Blockchain-Based Decentralized Cloud Solutions for Data Transfer
    Nair, Rajit
    Zafrullah, Syed Nasrullah
    Vinayasree, P.
    Singh, Prabhdeep
    Zahra, Musaddak Maher Abdul
    Sharma, Tripti
    Ahmadi, Fardin
    COMPUTATIONAL INTELLIGENCE AND NEUROSCIENCE, 2022, 2022
  • [30] Blockchain-Based Log Verification System for Cloud Forensics
    AGBEDANU Promise Ricardo
    王鹏伟
    雷颖慧
    NORTEY Richard N
    RASOOL Abdul
    ODARTEY Lamptey K
    JournalofDonghuaUniversity(EnglishEdition), 2021, 38 (05) : 449 - 458