-
Notifications
You must be signed in to change notification settings - Fork 285
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
Reject DELEGATECALL EOF → legacy #588
Conversation
5fe2694
to
5506519
Compare
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.
Looks good in general.
I think we should do an experiment to pass "EOF mode" flag instead of checking code prefix in many places. But this can be done after this PR to asses full impact of the re-design.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #588 +/- ##
==========================================
- Coverage 97.39% 97.34% -0.05%
==========================================
Files 80 81 +1
Lines 7973 7770 -203
==========================================
- Hits 7765 7564 -201
+ Misses 208 206 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
|
95c5401
to
4af57c8
Compare
The code targeted by DELEGATECALL from an EOF must also be an EOF. This restriction has been added to EIP-3540 in ethereum/EIPs#7131.
The code targeted by DELEGATECALL from an EOF must also be an EOF.
This restriction has been added to EIP-3540 in
ethereum/EIPs#7131.