-
Notifications
You must be signed in to change notification settings - Fork 0
internal/ethapi: set necessary fee price before gas estimation #263
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
Conversation
e0dbd07 to
7949ec0
Compare
|
By filling up the But, let me take Remix as an example, it only provides a Is it correct to overwrite the |
AnnaShaleva
left a comment
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.
Is it correct to overwrite the MaxFeePerGas in estimation, or any other solutions?
We may try to modify args.setFeeDefaults in order to make special conditions for NeoXBurn hardfork. But I'm not sure if MaxFeePerGas is safe to be modified, even only in case if it's insufficient. Because other tools may rely on their value, whereas backend silently modifies it for its own check, and if it's not a problem with Remix, then it may be a problem for some other tool.
Well, let's have a look at documents. The code comment says.
The official document says.
And Alchemy notes.
So, there are several points.
I think, set a minimum price for empty request is compatible based on this description. Ideally, we should return a
|
7949ec0 to
c4df340
Compare
AnnaShaleva
left a comment
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.
This way looks better.
Close #262.