-
Notifications
You must be signed in to change notification settings - Fork 979
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
refactor: add VULNERABLE_SOLC_VERSIONS and logic #1477
refactor: add VULNERABLE_SOLC_VERSIONS and logic #1477
Conversation
I think this approach makes sense. There's probably other areas it could be used e.g. the external function detector. |
43dd448
to
c522ef9
Compare
@0xalpharush fixed and ready for re-review. question: do you prefer 1 commit per pr? so |
@devtooligan There's not a strict style atm. I think force pushing is fine for small commits but if you make large changes and the commits aid in reviewing the PR, leaving the interim history makes sense. |
I would recommend against force push, or changing anything that was pushed on github (see Linus's point of view on rebasing) Github allows to squash commit when we merge the PR, so it's ok to have multiple commits in the PRs ;) |
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.
This is a great idea, I think we can clean up a lot of detectors following this schema. Thanks @devtooligan
Note: when merging the PR, we need to update https://github.com/crytic/slither/wiki/Adding-a-new-detector |
@montyly wrote:
@0xalpharush maybe you or someone else can help with this. Github wiki is not set up very well for open source contributions from outsiders 😄 We will need to update the snippet in the wiki with:
Then down below in the notes maybe add something like:
|
@0xalpharush @montyly Requested changes made. Aside from updating the wiki, this should be good for final re-review and merge. |
I merged the PR through #1485. Thanks again @devtooligan, this was a great idea |
addresses #1476
precursor to #1424