-
Notifications
You must be signed in to change notification settings - Fork 933
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
Hardhat dependencyCompiler
breaks compilation - crytic_compile.platform.exceptions.InvalidCompilation
#743
Comments
some additional info this happened becuase I had
when I removed it deleted the |
Unfortunately, I can't remove the |
dependencyCompiler
breaks compilation - crytic_compile.platform.exceptions.InvalidCompilation
The So what this error means is that the source file no longer exists:
Is there any configuration option within Slither to skip analysis of certain contracts? Theoretically a contract imported by |
In my case this contract is used only in the tests so it is not used in the actual deployment and can safely be skipped for the checks. |
OTOH I think it would be better to just remove the reference of this from the cache json |
ping |
@krasi-georgiev See the linked issue. I still think Slither should allow for excluding certain files and paths from analysis (assuming it doesn't already), but this particular issue can now be closed. |
Thanks @krasi-georgiev and @ItsNickBarry for digging into this issue. I will take a closer look at this. Right now Slither needs (1) might be difficult to remove. We had partial exploration of this in the past (see #352), yet I am not sure if it is something we can implement in the short term without significant changes (most of Slither codebase assumes it knows everything, and removing this will break a lot of internal assumptions). (2) might be feasible, I will see how this can be implemented alongside with #695 |
Master version - 7751cba
here is the full output
here are the imports
and here is the package.json file
The text was updated successfully, but these errors were encountered: