Closed meowsbits closed 2 years ago
retesteth actually have no idea what solc version is required. because it is the tests files that define it. so you can actually use the tests with solc version 0.5 and be just fine. also if you don't use any solidity at all, filling the test without solc installed is possible.
Print a warning about solidity version: https://github.com/ethereum/retesteth/pull/174/commits/0a89b74722ca524df5d86929660e039340607203
Currently only a
WARNING: Error getting solc Version
is given when using theretesteth --filltests
flag. Sincesolc
is a dependency for this command,retesteth
should refuse to run if an adequatesolc
version is not present.Note further that I originally used
snap
to installsolc
and the version installed this was was too old, and caused issues of its own:but a later version installed manually (via reference in the Dockerfile) worked OK.