How to use slither-check-erc in foundry project with mapping imports #1727
|
Repro Steps Environment: OSX M1 with slither 0.9.2 and forge 0.2.0 (0453ac8 2023-02-28T00:14:39.246801Z)
Issue does not occur with the |
Answered by
0xalpharush
Mar 8, 2023
Replies: 2 comments
|
slither-check-erc uses two positional args: the first being the project directory and the second the contract name ( |
0 replies
Answer selected by
0xalpharush
|
thanks, this resolved the issue! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
slither-check-erc uses two positional args: the first being the project directory and the second the contract name (
slither-check-erc project contractName). I believe you should be able to runslither-check-erc . IdRegistryto compile the project and then analyzeIdRegistry. I would also recommend checking out our ERC20 properties that you can fuzz with Echidna and/or Foundry https://github.com/crytic/properties.