-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
feat: add forge mssv
command to assist finding the minimum supported solc
version for a project
#391
Comments
Motivation is that we detected a misconfigured pragma here and I had to manually bisect to find which is the min version that works. |
forge mssv
command to assist finding the minimum supported solc
version for a project
we have now
I could be wrong but this should solve the case mentioned in this ticket @mattsse @gakonst wdyt? |
I think this proposed command would iteratively compile and find the lowest target whereas the compiler version list only displays the versions used in the project, it doesn't help the user guide in finding to lowest compatibility version. Given that the Solidity compiler team recommends using recent versions and projects / auditors prefer strict pinning this is largely relevant for library authors who usually explicitly choose their supported version (e.g. I would be in favor of closing as |
Add
forge mssv
command that takes a project and tries to compile it with various solc versionsRef https://github.com/foresterre/cargo-msrv
The text was updated successfully, but these errors were encountered: