-
Notifications
You must be signed in to change notification settings - Fork 306
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
EIP-7702: Set EOA account code #961
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #961 +/- ##
==========================================
+ Coverage 94.29% 94.37% +0.07%
==========================================
Files 159 162 +3
Lines 17344 17687 +343
==========================================
+ Hits 16355 16692 +337
- Misses 989 995 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
|
5e9c460
to
7f9d123
Compare
ccc3776
to
90c05f4
Compare
056e8ae
to
a919431
Compare
e19a72a
to
3ff5253
Compare
688178d
to
03c0d96
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.
There are some artificial enviroments where this can crash:
- having invalid delegation designator in state,
- having a precompile with code.
Do you think we should add sanity checks for these when loading tests?
I think it makes sense to add in a separate PR |
Co-authored-by: Paweł Bylica <[email protected]>
Co-authored-by: Paweł Bylica <[email protected]>
Co-authored-by: Paweł Bylica <[email protected]>
Co-authored-by: pdobacz <[email protected]>
Co-authored-by: pdobacz <[email protected]> Co-authored-by: Paweł Bylica <[email protected]>
Add required MODEXP stub value
Implement EIP-7702: Set EOA account code. This EIP adds new transaction type set-code that permanently sets the code delegation for an EOA.
Requires new EVMC flag: ethereum/evmc#720.