Parse the appropriate compiler version when determining output options.
Just seeing now there is also another PR that does this exact same thing ... but i have tests :)
Related: #126
How I did it
Just added an additional argument to specify which compiler to use when parsing options
How to verify it
There is a test. The solc 0.8.x series introduced a function-debug output option, which was not available in previous compiler versions. This also happened to be the reason why using previous compiler versions, with a 0.8.x one installed raised errors.
Checklist
[ ] I have confirmed that my PR passes all linting checks
What I did
Parse the appropriate compiler version when determining output options.
Just seeing now there is also another PR that does this exact same thing ... but i have tests :)
Related: #126
How I did it
Just added an additional argument to specify which compiler to use when parsing options
How to verify it
There is a test. The solc 0.8.x series introduced a
function-debug
output option, which was not available in previous compiler versions. This also happened to be the reason why using previous compiler versions, with a 0.8.x one installed raised errors.Checklist