-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: decoupling the solidity-coverage from solc version? #91
Comments
I agree that this would be a useful piece of functionality, but I don't think the responsibility lies with us to provide it. The |
@area I will close it since it does not depend directly on this project. |
This is now possible in truffle v0.5.x. in truffle config: module.exports = {
compilers: {
solc: {
version: <string> // A version or constraint - Ex. "^0.5.0"
}
}
} https://truffleframework.com/docs/truffle/reference/configuration#solc |
What do you think about allowing the user to specify the
solc
version being used?The use-case would be a compiler regression that affects contracts, such as this one.
Of course, one can always downgrade/pin the
solidity-coverage
version, but features developed since then will be unavailable without getting the offendingsolc
version as well.One way to achieve this without dealing with different NPM packages may be using legacy solc versions, and specifying it in the
.solcover.js
file (though I have not tried this).Anyway, let me know if this makes any sense to you :)
The text was updated successfully, but these errors were encountered: