-
Notifications
You must be signed in to change notification settings - Fork 996
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
create a variable API that filters out constants and immutables #1644
Comments
I would like to help out with this issue. Can you share more information? |
There's several places where code like |
For instance slither/slither/detectors/variables/unchanged_state_variables.py Lines 95 to 100 in e3dcf1e
slither/slither/core/compilation_unit.py Lines 299 to 300 in e3dcf1e
|
…bles that have a storage location instead of filtering
Hi @0xalpharush Please let me know if the following changes are what you had in mind for the new API. Thanks! |
Looks good! Go ahead and open a PR please |
There's discussion about changing code data location keywords and it would be convenient/ more robust to have one API rather than filtering state_variables.
For example, this code could use the new API #1451
Ref ethereum/solidity#13723
The text was updated successfully, but these errors were encountered: