Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArbGasInfo get price methods #869

Merged
merged 5 commits into from Jul 29, 2022
Merged

Conversation

edfelten
Copy link
Contributor

This fixes some inaccurate results provided by methods of ArbGasInfo that report various prices. In particular, this correctly breaks out the difference between minimum basefee and the congestion component; and it correctly reports the estimated per-tx base charge for L1 data.

@codecov
Copy link

codecov bot commented Jul 29, 2022

Codecov Report

Merging #869 (46cb88d) into master (1fb8f45) will decrease coverage by 0.12%.
The diff coverage is 25.45%.

@@            Coverage Diff             @@
##           master     #869      +/-   ##
==========================================
- Coverage   46.67%   46.54%   -0.13%     
==========================================
  Files         215      215              
  Lines       23856    23907      +51     
  Branches      502      502              
==========================================
- Hits        11134    11128       -6     
- Misses      11226    11282      +56     
- Partials     1496     1497       +1     

Copy link
Contributor

@rachel-bousfield rachel-bousfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, just a bug to fix

precompiles/ArbGasInfo.go Show resolved Hide resolved
Copy link
Contributor

@rachel-bousfield rachel-bousfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@rachel-bousfield rachel-bousfield merged commit 9aa2ac9 into master Jul 29, 2022
@rachel-bousfield rachel-bousfield deleted the arbgasinfo-get-prices-fix branch July 29, 2022 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants