Empirically Analyzing Ethereum's Gas Mechanism

Renlord Yang, Toby Murray, Paul Rimba, Udaya Parampalli
5/2/2019
cs.CRcs.PF

Official code: renlord/bookish-octo-barnacle (0 stars, last commit 2019-07-03).

Abstract

Ethereum's Gas mechanism attempts to set transaction fees in accordance with the computational cost of transaction execution: a cost borne by default by every node on the network to ensure correct smart contract execution. Gas encourages users to author transactions that are efficient to execute and in so doing encourages node diversity, allowing modestly resourced nodes to join and contribute to the security of the network.

Show full abstract

However, the effectiveness of this scheme relies on Gas costs being correctly aligned with observed computational costs in reality. In this work, we performed the first large scale empirical study to understand to what degree this alignment exists in practice, by collecting and analyzing Tera-bytes worth of nanosecond-precision transaction execution traces. Besides confirming potential denial-of-service vectors, our results also shed light on the role of I/O in transaction costs which remains poorly captured by the current Gas cost model. Finally, our results suggest that under the current Gas cost model, nodes with modest computational resources are disadvantaged compared to their better resourced peers, which we identify as an ongoing threat to node diversity and network decentralization.

View on arXivView PDF

Code Implementations(1)

01Feb 18, 20197 years ago

Similar Papers

Cite this paper

@article{yang2019empirically,
  title  = {Empirically Analyzing Ethereum's Gas Mechanism},
  author = {Renlord Yang and Toby Murray and Paul Rimba and Udaya Parampalli},
  year   = {2019},
  eprint = {1905.00553},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1905.00553}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1905.00553.svg)](https://codeofpaper.com/paper/1905.00553)

Discussion