-
Notifications
You must be signed in to change notification settings - Fork 26
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
Display the supported compiler versions for packages #97
Comments
Could you expand a little bit on this? Would you like that the soldeer.xyz website displays a range of acceptable solidity versions on each package page? This might be a bit tricky, as each version of the package could potentially require different solidity versions, and there are not only version specifiers in the files (pragma statements) but also in the If you could describe in a bit more detail what you would like to see, it would help to define what is required. |
Yes, it is a little complicated!
Pretty much, yes. But for a particular version of the package (since it could change from version to version). An example:
Thinking about this further, it's probably quite difficult to do. Perhaps using the |
Thanks for the clarifications. Yes indeed it's not a trivial task. Using the foundry setting is maybe not the best idea as it could artificially restrain the version when in fact the files would be OK with lower version. |
Additionally, at the moment I think the backend has no feature that would introspect the content of packages. This would require a large refactor on the backend side. |
Many packages (e.g. uniswap-v3-core) are highly opinionated wrt the compiler version used. It would be useful if each soldeer package version listed the supported compiler versions. (It could use the same format as the pragma statement.)
The text was updated successfully, but these errors were encountered: