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

chore: rm execution requests from v4 payload fn #401

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Jan 24, 2025

closes #395

@emhane
Copy link
Collaborator

emhane commented Jan 24, 2025

conflicts with spec ethereum-optimism/specs#525

@emhane emhane closed this Jan 24, 2025
@emhane
Copy link
Collaborator

emhane commented Jan 24, 2025

hm, though this isn't an rpc api...so it could be ok to remove the arg...in rpc it breaks spec though

@emhane emhane reopened this Jan 24, 2025
@mattsse
Copy link
Member Author

mattsse commented Jan 24, 2025

  • executionRequests MUST be an empty array.

what am I missing here?

@protolambda
Copy link

An empty requests array keeps the API more compatible with that of L1, and the diff smaller. Op-stack only adds optional attributes, and doesn't remove any from the API definition. E.g. in geth it may sanity-check it's present if Pectra is active: that doesn't have to change if it's simply an empty array. Also, removing it now will make it harder to utilize when we later do see a good use for the EL-requests in OP-Stack.

@meyer9
Copy link

meyer9 commented Jan 24, 2025

Since this is op-specific, I think it makes sense to remove the param from the public interface (but obviously still send it over RPC). This LGTM!

I think we should still validate that these are empty arrays when receiving a v4 request though - which I believe will be implemented in reth?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Check empty EL reqs newPayloadV4
4 participants