-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Bump gas price at least by 1 gwei #13531
Comments
It already increases the gas by at least 1 gwei. I've also tested it with gas price higher than the proposed network gas and it's increased it by at least 1 gwei. The current logic suggests that if the network gas is lower than the previous gas, the new gas will be increased by 1. Since it was already in gwei, it will be increased by 1 gwei.
@tomasklim Please let me know if there is any other case in which the gas price can be increased by less than 1 gwei. Otherwise I would close the issue. |
Note: The minimum should be configurable because of new L2 chains #15478 |
@enjojoy Nobody touched the code from the time this issue was created. Current develop (I see difference only it is clear from the code you shared, that it can happen
Situation:
The gas price is set to It is incremented by |
Got it 🙏🏻 Thank you. Didn't realize that the difference with the network proposed fee can be less that 1 gwei and then it's problematic. Usually the fees are pretty high. |
QA OK Info:
|
Before the implementation of #13328, the gas price was always increased by at least one gwei compared to the previous transaction. However, after the fix, the bump fee can propose an increase of just 1 wei. To maintain a more consistent fee bump logic, we should ensure that the new gas price is not only adjusted to the current network gas price but also is at least 1 gwei higher than the previous gas price.
It should also fix this warning error (at least 2 gas price)
Screen.Recording.2024-07-28.at.20.50.06.mov
The text was updated successfully, but these errors were encountered: