-
Notifications
You must be signed in to change notification settings - Fork 315
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
Add EXPERIMENTAL revision #728
Conversation
101edf9
to
8ec1923
Compare
Add new `EVMC_EXPERIMENTAL` to `evmc_revision` to allow EVM implementations to expose experimental features.
8ec1923
to
54f43ed
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #728 +/- ##
==========================================
- Coverage 93.41% 93.39% -0.02%
==========================================
Files 26 26
Lines 3887 3892 +5
Branches 404 407 +3
==========================================
+ Hits 3631 3635 +4
Misses 140 140
- Partials 116 117 +1 |
* The unspecified EVM revision used for EVM implementations to expose | ||
* experimental features. | ||
*/ | ||
EVMC_EXPERIMENTAL = 15, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So the number is going to change with every added revision? Then if somebody has this hardcoded, e.g. in the command line to evmc-tool, it will break... Maybe not a huge concern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think in many places we use the fact that we have loop over revisions... I think it would be nice to have something like 100+, but I'm not sure I have time to investigate it right now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I guess it's mostly in tests, and it's not clear whether we would or would not want to include Experimental revision in them. Maybe rather we do want that, because experimental EVMs shouldn't break any existing functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe if we put the EXPERIMENTAL
outside of the MAX
this would work somehow... but let's see first how this version works.
Add new
EVMC_EXPERIMENTAL
toevmc_revision
to allow EVM implementations to expose experimental features.