ethereum / ethereum/execution-apis

`eth_newPayloadV4`: Why require full requests instead of requestsHash?

Open
#662 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Io
Stars
1.1k
Forks
530
Avg merge
5d 8h
Merged PRs (30d)
9

Description

Currently, the `eth_newPayloadV4` interface requires the CL to pass the full `requests` to the EL. But it seems like passing just the `requestsHash` should be sufficient.

EL can locally process the block, derive the valid `requests`, compute the `requestsHash`, and compare it with the one provided by the CL. Format validation and ordering checks for `requests` can also be enforced via the `requestsHash` comparison.

So I’m wondering if there’s any reason to require the full `requests` instead of just the hash. Maybe there's something I’m overlooking, otherwise, this seems like unnecessary duplication.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.