It seems the --src-dir does not affect the execution and the command is still searching for contracts in the src/ directory.
Steps to reproduce:
Navigate to a project which uses a contracts/ folder instead of src/ to hold its smart contracts
Run the following command:
python3 ~/projects/vertigo-rs/vertigo.py run --src-dir ./contracts
Expected result:
The command should run successfully.
Actual result:
The command fails with the following error:
❯ python3 ~/projects/vertigo-rs/vertigo.py run --src-dir ./contracts
[*] Starting mutation testing
[*] Starting analysis on project
[+] Foundry project detected
[+] If this is taking a while, vertigo-rs is probably installing dependencies in your project
[*] Initializing campaign run
[*] Checking validity of project
[+] The project is valid
[*] Storing compilation results
[-] Encountered an error while running the core campaign
[Errno 2] No such file or directory: '/Users/marchev/projects/sherlock/allo_v2_clean/allo-v2/src'
Description:
It seems the
--src-dir
does not affect the execution and the command is still searching for contracts in thesrc/
directory.Steps to reproduce:
contracts/
folder instead ofsrc/
to hold its smart contractsExpected result: The command should run successfully.
Actual result: The command fails with the following error: