foundry-rs / compilers

Utilities for working with native solc and compiling projects.
Apache License 2.0
70 stars 41 forks source link

Searching for the new equivalent of `Solc::detect_version(..)` #119

Closed TilakMaddy closed 4 months ago

TilakMaddy commented 4 months ago

I'm looking for the new equivalent of Solc::detect_version(..)

Additional Context It was there in 0.3.0 but not in 0.4.0 which is breaking some changes for aderyn's

mattsse commented 4 months ago

thanks for flagging, we refactored a bunch of stuff and a lot of install handling was moved to SolcVersionManager

I've added the detect_version fn back because this is still useful.

there are likely still some inconveniences, so please lmk if you think something could be improved