-
-
Notifications
You must be signed in to change notification settings - Fork 782
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
Remove Gas Estimates from ABI #2151
Comments
I'd like to take a swing at this... |
Should be as simple as removing this guy? https://github.com/vyperlang/vyper/blob/master/vyper/compiler/output.py#L56 |
@bitcoinbrisbane it should be that easy, yes! But if you could also try to remove that functionality from the rest of the codebase and the test suite, that'd seal the deal! |
On it |
43 tests break after removing it, taking a bit of time to refactor those tests. |
Hey @bitcoinbrisbane, just curious of there were any updates on the progress of this issue so far? |
Not good, I got stuck on refactoring the unit tests. I was just thinking about this ticket on the weekend. Can I try again this weekend? |
@bitcoinbrisbane I can help or take over this issue, if you want |
Sounds good. I need to get back into compilers |
https://twitter.com/_prestwich/status/1304986329604710401?s=20
Basically, since gas costs change all the time, we can't rely on the estimates that a particular version of Vyper uses. So, we should just get rid of this "feature"
NOTE: we'll still keep an upper bound on gas usage, for use with optimizations and to prevent gas attacks
The text was updated successfully, but these errors were encountered: