Skip to content
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

fix: normalize default evm version if solc configured #7018

Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Feb 6, 2024

ref #7014

This is not quite perfect, but is better than before.

If a solc version is provided in foundry.toml but no evm-version, we normalize the config's evm-version.
This does not affect solc compilation because this is also in foundry-compilers before invoking solc.

This can be improved by:
emitting warnings if user configures both evm_version and solc that are incompatible.

cc @0xalpharush

Copy link
Member

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@onbjerg
Copy link
Member

onbjerg commented Feb 6, 2024

merging as clippy lint is unrelated -.-

@onbjerg onbjerg merged commit 2b24a10 into foundry-rs:master Feb 6, 2024
17 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants