-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Gas warning for fallback function #411
Comments
@chriseth The gas estimator output includes an estimate for the fallback. I think this issue is more suitable for the static analyzer, which could issue a warning if the estimate is above 2300. |
Is this still needed or covered by the remix static analyzer? |
This has been implemented in the remix static analyzer. |
Perhaps to document here: The reason we did not add it to the compiler itself is because gas estimation can only be done after we have the final code and at that point, it is hard to generate an error or warning. |
I think this can be done in a manner similar to #8008. |
The reason it may not be a good idea to add:
|
I think this is outdated by now. |
https://www.pivotaltracker.com/story/show/114641125
The text was updated successfully, but these errors were encountered: