You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We confirmed this problem in both slither v0.9.6 and v0.10.0. This problem did not happen before yesterday (when sliter v0.10.0 and crytic-compile v0.3.5 released). We suspect this is a problem related to crytic-compile foundry changes in v0.3.5 release.
We suspect that this is caused by the target is not root directory, which is common in monorepo. We confirmed in a minimal reproducible example that things work smoothly when target is the root directory.
How to reproduce
We created a minimal reproducible example here with the failed action here. This example is created by calling forge init under contracts folder and adding slither action.
The text was updated successfully, but these errors were encountered:
Describe the problem
Currently when using
crytic/[email protected]
, slither failed to runforge clean
, complainingFileNotFoundError: [Errno 2] No such file or directory: 'foundry.toml'
(see https://github.com/SpecularL2/specular/actions/runs/6577194479/job/17868312892#step:9:321).However, just before this, slither is able to install foundry dependencies using
foundry.toml
(see https://github.com/SpecularL2/specular/actions/runs/6577194479/job/17868312892#step:9:317) and we have confirmed thatfoundry.toml
is inside the directory (see https://github.com/SpecularL2/specular/actions/runs/6577194479/job/17868312892#step:8:19).We confirmed this problem in both slither
v0.9.6
andv0.10.0
. This problem did not happen before yesterday (when sliterv0.10.0
and crytic-compilev0.3.5
released). We suspect this is a problem related tocrytic-compile
foundry changes inv0.3.5
release.We suspect that this is caused by the
target
is not root directory, which is common in monorepo. We confirmed in a minimal reproducible example that things work smoothly whentarget
is the root directory.How to reproduce
We created a minimal reproducible example here with the failed action here. This example is created by calling
forge init
undercontracts
folder and adding slither action.The text was updated successfully, but these errors were encountered: