Add flat encoding and requests as a side car #7608
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #7525
Closes #7524
Closes #7522
Resolves #7521
Changes
Implements changes from
engine: unified list of opaque requests execution-apis#577Types of changes
engine_getPayloadV4
andengine_getPayloadV4
, It incorporates suggestions from pectra-devnet4 doc, which was to exchangerequests
as a side car and remove them from the block bodyengine_getPayloadBodiesByRangeV2
andengine_getPayloadBodiesByHashV2
and all related objects and handlers, which are now obsolete.IExecutionRequestsProcess
and gets rid of all kinds of exiting requests processors.RequestsHash
calculation, more info at: https://eips.ethereum.org/EIPS/eip-7685What types of changes does your code introduce?
Testing
Requires testing
If yes, did you write tests?
Notes on testing
Few more tests are yet to be written after a few rounds of discussions.
Documentation
Requires documentation update
Remarks
Please verify the
requestsHash
calculation, which should be done as follow: