ethereum / execution-specs

Specification for the Execution Layer. Tracking network upgrades.
Creative Commons Zero v1.0 Universal
869 stars 240 forks source link

Implement Pectra Devnet 4 changes for requests and 7702 #1016

Closed gurukamath closed 4 weeks ago

gurukamath commented 1 month ago

This PR incorporates the following updates to the Prague EIPs

EIP-7002: add logging to system contract Update EIP-7002: add logging to system contract EIPs#8890 EIP-7251: max eb, change request to flat encoding Update EIP-7251: change request to flat encoding EIPs#8857 EIP-6110: deposits, change request to flat encoding Update EIP-6110: change request to flat encoding EIPs#8856 EIP-7002: withdrawals, change request to flat encoding Update EIP-7002: change request to flat encoding EIPs#8855 EIP-7685: change requests hash to flat hash Update EIP-7685: change requests hash to flat hash EIPs#8854

Additionally, it implements the updates to EIP-7702

What was wrong?

The version of the EIP-7685 and related EIPs is not in line with the latest discussions

How was it fixed?

Update the EIPs

gurukamath commented 1 month ago

Tracking PR for further updates

codecov-commenter commented 1 month ago

Codecov Report

Attention: Patch coverage is 41.17647% with 10 lines in your changes missing coverage. Please review.

Please upload report for BASE (forks/prague@2875a73). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/ethereum/prague/requests.py 30.00% 7 Missing :warning:
src/ethereum/prague/fork.py 25.00% 3 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## forks/prague #1016 +/- ## =============================================== Coverage ? 75.82% =============================================== Files ? 692 Lines ? 39264 Branches ? 0 =============================================== Hits ? 29771 Misses ? 9493 Partials ? 0 ``` | [Flag](https://app.codecov.io/gh/ethereum/execution-specs/pull/1016/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/ethereum/execution-specs/pull/1016/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum) | `75.82% <41.17%> (?)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ethereum#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.