Closed 0xicingdeath closed 2 years ago
Closing, as this is something that crytic-compile does.
Hi, @0xicingdeath ,
I am currently try to using slither to detect different version solidity contract in a folder, and everytime I need to use solc-select to choose the right version before running the slither. And how could I use crytic-compile to auto select right solc version based on pragma on contract. It will be extremely helpful to test on batch for me.
Thank you
When running
solc <file>
currently, users have to change the solc-select global version, then run the solc file:Example file:
When changing the pragma, it requires users to run the
solc-select use <version>
in their terminal to use the correct solc version. It would speed up testing significantly if the tool had the ability to change the version automatically.