A comparative analysis of Ethereum gas price oracles' performance and a mechanism for Ethereum gas price prediction post-EIP-1559

dc.contributor.advisorChairperson, Graduate Committee: Laura Stanleyen
dc.contributor.authorBarada, Ibrahimen
dc.date.accessioned2023-05-10T15:04:35Z
dc.date.available2023-05-10T15:04:35Z
dc.date.issued2022en
dc.description.abstractBlockchain transactions compete for limited space in blockchain blocks. Miners prefer to include transactions with higher fees into new blocks. Ethereum released EIP-1559 as an upgrade for its transaction pricing mechanism. The improvement proposal aims to stabilize the transaction pricing mechanism and improve the predictability of gas prices. In the context of Ethereum, gas price oracles predict fees such that transactions submitted at those fees make it into a block within a target delay. In practice, however, Ethereum gas price oracles are inaccurate, which makes it difficult for distributed applications to operate predictable services in terms of price and performance. To understand and measure oracle accuracy we define new gas prediction performance metrics. We demonstrate that oracles underprice transactions, causing them to miss the delay target. We also show that oracles overprice transactions, causing them to meet the delay target, but at a higher-than-necessary cost. As a result of oracles inaccuracies, users tend to either wait longer or pay more than sufficient gas prices for a transaction to get into a block. We provide a comparative analysis of five gas price oracles pre and post-the release of EIP-1559 showing their performance in terms of accuracy of acceptance, underpricing, and overpricing. We also discuss the factors that influence oracle accuracy and the effects of those inaccuracies in terms of time and money wasted. We apply our predefined metrics to study the performance of oracles pre and post-EIP-1559. We observe that EIP-1559 improved the transaction acceptance rate and shortened acceptance delays. On the other hand, we observe that EIP-1559 increased transaction overpricing. The current gas price prediction mechanisms required further investigation after the release of EIP-1559. Hence, we devised a new mechanism to predict gas prices of EIP-1559-compatible transactions on the Ethereum blockchain. The mechanism allows users to calculate gas prices based on the current block utilization and base fee. We measured the probability of acceptance, time wasted, and money wasted and noticed an increase in the probability of acceptance and a decrease in both time and money wasted in comparison to the currently existing oracles.en
dc.identifier.urihttps://scholarworks.montana.edu/handle/1/17583
dc.language.isoenen
dc.publisherMontana State University - Bozeman, College of Engineeringen
dc.rights.holderCopyright 2022 by Ibrahim Baradaen
dc.subject.lcshBlockchains (Databases)en
dc.subject.lcshGasen
dc.subject.lcshPricesen
dc.titleA comparative analysis of Ethereum gas price oracles' performance and a mechanism for Ethereum gas price prediction post-EIP-1559en
dc.typeThesisen
mus.data.thumbpage33en
thesis.degree.committeemembersMembers, Graduate Committee: Mike Wittie; David Millmanen
thesis.degree.departmentComputing.en
thesis.degree.genreThesisen
thesis.degree.nameMSen
thesis.format.extentfirstpage1en
thesis.format.extentlastpage68en

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
barada-a-comparative-2022.pdf
Size:
1.24 MB
Format:
Adobe Portable Document Format
Description:
A comparative analysis of Ethereum gas price oracles' performance and a mechanism for Ethereum gas price prediction post-EIP-1559 (PDF)

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1.71 KB
Format:
Plain Text
Description:
Copyright (c) 2002-2022, LYRASIS. All rights reserved.