-
Notifications
You must be signed in to change notification settings - Fork 8
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: estimate gas #37
Conversation
c45f58b
to
e3f594a
Compare
e3f594a
to
47d3e55
Compare
This seems to work well for me, but needs some update to the mock provider |
does this fix the need to provide |
the tests fail on main for the same reason; not sure what changed or why that suddenly happens. |
shipppppp itttttttttttt |
this is never gonna ship @antazoey forget about it |
why do you say this? |
def estimate_gas_cost( | ||
self, receiver: AddressType, value: int, data: bytes, operation: int = 0 | ||
) -> Optional[int]: | ||
return None # Estimate gas normally |
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.
I'm assuming this works in the tests, but if not I think the issue is likely that the gas prices are nonzero
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.
What issue?
What I did
NOTE: Is only a POV - I havent tested yet.
fixes: #36
How I did it
How to verify it
Checklist