-
Notifications
You must be signed in to change notification settings - Fork 982
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
[Bug]: slither 0.8.3 crashing #1266
Comments
@thedavidmeister Would you mind seeing if this branch fixes the issue you ran into? #1267 |
@0xalpharush hey sorry, i have no python experience and after getting about 5 cryptic (to me) errors deep in the "virtual env" setup i had to stop the repository with the errors is public though, you should be able to pull it and run slither on it against develop to see the problem i removed all custom errors from my solidity code (which i believe is what the linked issue is about) and am still seeing the same errors when i run slither |
Thanks for checking. I'm looking into it. As of now, I expect it is in edge case in how slither parses assembly. I'll working on a fix. |
The first issue has to do with the declaration of yul variables without assigning them:
This code does not handle this edge case: slither/slither/solc_parsing/yul/parse_yul.py Lines 669 to 680 in db703d8
The second issue regarding the initializer modifier should be fixed by #1227
|
@0xalpharush when do you expect these fixes you are referencing to be available in a release? is there a workaround i can implement in the meantime? |
I haven't tested it but I think |
I had this same issue with slither 0.8.3, but updating to 0.9.1 fixed the issue. This issue can be closed as far as I can tell. |
Describe the issue:
Getting this cryptic set of errors when running
slither . --npx-disable --filter-paths="contracts/test" --exclude-dependencies
Can see this in CI: https://github.com/beehive-innovation/rain-protocol/runs/7194366865?check_suite_focus=true
I tried removing top level constants and enums as I saw this was causing others issues, but it didn't seem to help
Code example to reproduce the issue:
https://github.com/beehive-innovation/rain-protocol/runs/7194366865?check_suite_focus=true
Version:
0.8.3
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: