-
Notifications
You must be signed in to change notification settings - Fork 5.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
Compiler opton: target EVM version #1117
Comments
Probably we would need both:
Then, we have two options:
|
I think we should have the following components:
EVM versioning is simple if we follow ethereum/EIPs#178 as the current semver handler can be reused:
|
I would say the default should be to target the EVM that is active on the mainnet. Pragmas can revert specific features to older EVM versions. |
Latest discussion have lead to considering It seems to be a much better option to have a compiler option instead. This should be presented to the user as:
The evm versions are lowercase and we define The |
Added the "annoys users" label because this makes it impossible to use |
I think we should add an option to select the target EVM version (frontier, homestead, metropolis, etc.)
Maybe this isn't such a big issue anymore for Frontier as everyone moved on to Homestead, but by the time we move on to Metropolis, Homestead will have a much bigger user base.
Key differences:
Alternatively we might put this into a
pragma
instead of a compiler option.The text was updated successfully, but these errors were encountered: