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

Engine API and type changes for flat requests in Pectra #12337

Merged
merged 20 commits into from
Oct 23, 2024

Conversation

somnathb1
Copy link
Contributor

@somnathb1 somnathb1 commented Oct 16, 2024

Summary of changes

  • Remove Requests interface in favour of new FlatRequest struct
  • Add changes for new RequestHash calculation that sha256 digests the set of flat requests
  • Remove Requests from block and body related structs and methods
  • Set of requests that gets pulled at the Finalize stage is now returned from there, both for execution and block-building

Ref1: ethereum/execution-apis#591
Ref2: ethereum/EIPs#8854
Ref3: ethereum/EIPs#8924

Needs interface change - erigontech/interfaces#239

(Tasks board - #12106)

@somnathb1 somnathb1 added the pectra The Prague/Electra protocol upgrade label Oct 16, 2024
@somnathb1 somnathb1 changed the title Engine API changes for flat requests in Pectra Engine API and type changes for flat requests in Pectra Oct 18, 2024
@somnathb1 somnathb1 changed the base branch from main to som/remove_req_from_body October 18, 2024 21:42
@somnathb1
Copy link
Contributor Author

somnathb1 commented Oct 21, 2024

This is Part 3/5
Next: #12388

Base automatically changed from som/remove_req_from_body to main October 23, 2024 07:33
@somnathb1 somnathb1 merged commit 4837639 into main Oct 23, 2024
11 checks passed
@somnathb1 somnathb1 deleted the som/pectra4_engine_api branch October 23, 2024 08:11
somnathb1 pushed a commit that referenced this pull request Oct 23, 2024
somnathb1 pushed a commit that referenced this pull request Oct 24, 2024
yperbasis added a commit that referenced this pull request Oct 25, 2024
Cherry pick #12337 into `release/2.61`

Co-authored-by: Somnath <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pectra The Prague/Electra protocol upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants