arrow
Return

Studying gas exceptions in blockchain-based cloud applications

delete2020-06-30
delete10
delete
OA
AI
C
Chao Liu *
J
Jianbo Gao
Y
Yue Li
王
王慧慧 (Huihui Wang)
Z
Zhong Chen
DOI:10.1186/s13677-020-00176-9delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
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.
Keywords:
Cloud application
Blockchain
Ethereum
Runtime exception
Out of gas
Empirical study
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

J
Journal of Cloud Computing-Advances Systems and Applications
IF:
4.3
Papers:
756
Citations:
2.2K

Organization

Jacksonville University cover
Jacksonville University
Scholars:
179
Papers: 230
Citations: 422
P
peking university
Scholars:
11.9W
Papers: 8.7W
Citations: 146
Cited Papers

Cited Papers

Synthesis, properties, and the crystal structure of the complex Cp2Yb(DAD)
err1999-02-01
err0
PREAI
errA. A. Trifonov; E. N. Kirillov; M. N. Bochkarev; H. Schumann; S. Muehle
errShare
errSave
High Temperature Solid Electrolyte Fuel Cells
err1976-01-01
err0
PREAI
errT. L. Markin; R. J. Bones; R. M. Dell
errShare
errSave
Robust amphiphobic coatings from bi-functional silica particles on flat substrates
err2013-05-01
err0
PREAI
errDean Xiong; Guojun Liu; E.J. Scott Duncan
errShare
errSave
Biophysical attributes of an in vitro spinal cord surrogate for use in developing an intradural neuromodulation system
err2011-10-04
err0
PREAI
errM. A. Howard; M. Utz; T. J. Brennan; B. D. Dalm; S. Viljoen; J. K. Kanwal; G. T. Gillies
errShare
errSave
researcher View more