-
Notifications
You must be signed in to change notification settings - Fork 980
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
crytic_compile.platform.exceptions.InvalidCompilation: Unknown file: @openzeppelin/contracts-upgradeable/introspection/ERC165Upgradeable.sol #852
Comments
Did you ever resolve this? |
1 similar comment
Did you ever resolve this? |
Hi @jacobrosenthal. Thank you for reporting this Did you run |
This error was thrown from here: https://github.com/crytic/crytic-compile/blob/master/crytic_compile/utils/naming.py#L109 Just make sure the @OpenZeppelin library is in one of these directory:
|
they are for me but that doesn't seem to resolve the issue. I'm still getting a "File not found" error |
This is especially sticky for monorepo projects where something like A temporary workaround is to symlink the relevant packages into the relative/workspace's ETA: A solution is adding the following to the
|
ERC165Upgradeable Isnt used anywhere in the projects solidity files, but ERC721Upgradeable is which looks like it imports ERC165Upgradeable
Ubuntu 21.04
Silther 0.8.0
The text was updated successfully, but these errors were encountered: