Open
Description
Describe the issue:
Hey @0xalpharush great job with the Vyper feature! I'm currently testing the functionalities and I encountered parsing errors if the Vyper contract imports custom interfaces, as I do a lot in 🐍 snekmate. For example, take a look at AccessControl.vy
, where I import the custom interface IAccessControl
:
import interfaces.IAccessControl as IAccessControl
implements: IAccessControl
Running slither AccessControl.vy
will lead to the following error:
Traceback (most recent call last):
...
raise InvalidCompilation(vyper_standard_output["errors"])
crytic_compile.platform.exceptions.InvalidCompilation: [{'component': 'parser', 'message': "Cannot locate interface 'interfaces/IAccessControl{.vy,.json}'", 'severity': 'error', 'sourceLocation': {'file': 'AccessControl.vy'}, 'type': 'FileNotFoundError'}]
Code example to reproduce the issue:
See above. Or any other contract in 🐍 snekmate that uses custom interface imports.
Version:
0.10.0
Relevant log output:
No response