Skip to content

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

Merged
somnergy merged 20 commits intomainfrom
som/pectra4_engine_api
Oct 23, 2024
Merged

Engine API and type changes for flat requests in Pectra#12337
somnergy merged 20 commits intomainfrom
som/pectra4_engine_api

Conversation

@somnergy
Copy link
Copy Markdown
Member

@somnergy somnergy 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)

@somnergy somnergy changed the title Engine API changes for flat requests in Pectra Engine API and type changes for flat requests in Pectra Oct 18, 2024
@somnergy somnergy force-pushed the som/pectra4_engine_api branch from bd7d191 to 4969caf Compare October 18, 2024 21:41
@somnergy somnergy changed the base branch from main to som/remove_req_from_body October 18, 2024 21:42
@somnergy
Copy link
Copy Markdown
Member Author

somnergy 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
@somnergy somnergy merged commit 4837639 into main Oct 23, 2024
@somnergy somnergy deleted the som/pectra4_engine_api branch October 23, 2024 08:11
somnergy pushed a commit that referenced this pull request Oct 23, 2024
somnergy 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 <snb895@outlook.com>
@VBulikov VBulikov mentioned this pull request Feb 5, 2025
revitteth pushed a commit to 0xPolygon/cdk-erigon that referenced this pull request Mar 21, 2025
…2468)

Cherry pick erigontech#12337 into `release/2.61`

Co-authored-by: Somnath <snb895@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants