When running Sailfish on contracts that import openzeppelin contracts, it crashes because Slither uses crytic-compile which compiles the contracts using solc, which doesn't resolve the above imports. However, crytic-compile allows for passing in --solc-remaps <prefix>=<target>slither <path_to_your_contract> --solc-remaps @openzeppelin=node_modules/@openzeppelin
When running Sailfish on contracts that import openzeppelin contracts, it crashes because Slither uses
crytic-compile
which compiles the contracts usingsolc
, which doesn't resolve the above imports. However,crytic-compile
allows for passing in--solc-remaps <prefix>=<target>
slither <path_to_your_contract> --solc-remaps @openzeppelin=node_modules/@openzeppelin
How did you handle contracts with this import?