-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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 swapped fee/tip parameters to estimateGas #8572
fix swapped fee/tip parameters to estimateGas #8572
Conversation
f4f6994
to
b90ca56
Compare
b90ca56
to
6ae65dd
Compare
WalkthroughWalkthroughThe changes involve modifications to the gas fee calculation and transaction crafting logic in a Go codebase. Specifically, the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on X ? TipsChat with CodeRabbit Bot (
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## develop #8572 +/- ##
===========================================
- Coverage 34.64% 34.56% -0.09%
===========================================
Files 167 167
Lines 7155 7155
Branches 1209 1209
===========================================
- Hits 2479 2473 -6
- Misses 4525 4533 +8
+ Partials 151 149 -2
Flags with carried forward coverage won't be shown. Click here to find out more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We had a Goerli safe head stall because of this a few hours ago and also fixed it (partially, #8578). Should have checked Github notifications first :D Thanks!
e9eb45c
fix swapped fee/tip parameters to estimateGas
fix swapped fee/tip parameters to estimateGas
…-canyon-mainnet Backport #8572: fix swapped fee/tip parameters to estimateGas
Description
fix the fact that tip & fee cap were swapped in gas limit re-estimation call, and consistently use tip->fee ordering to avoid future mixup.
Tests
Updated the mock backend with a check that would have caught this error.
Additional context
This was resulting in sporadic errors in our goerli-alpha proposer/batchers.
This bug didn't cause issues in the past because of what looks like a recent change in geth: ethereum/go-ethereum#28462