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

feat: add eofVersion config option #174

Merged
merged 3 commits into from
Jul 17, 2024
Merged

feat: add eofVersion config option #174

merged 3 commits into from
Jul 17, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Jul 17, 2024

adds key for enabling eof which is supported by https://github.com/ipsilon/solidity/tree/eof-functions-rebased

solc allows unknown keys in settings, so setting this wouldn't break default solc. though I think it might make sense to be under a feature flag. wdyt @mattsse

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

makes sense but should we introduce an enum for this, like evmversion?

@klkvr
Copy link
Member Author

klkvr commented Jul 17, 2024

makes sense but should we introduce an enum for this, like evmversion?

I believe it is a one-byte number by spec: https://github.com/ethereum/EIPs/blob/master/EIPS/eip-3540.md#header

@mattsse
Copy link
Member

mattsse commented Jul 17, 2024

yeah could we make an enum for that?

@klkvr
Copy link
Member Author

klkvr commented Jul 17, 2024

Added enum in c04da87

@klkvr klkvr requested a review from mattsse July 17, 2024 16:37
@klkvr klkvr merged commit 3242f6e into main Jul 17, 2024
15 checks passed
@DaniPopes DaniPopes deleted the klkvr/eof-version branch July 17, 2024 18:24
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