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

feat(L2): implement Into<RpcRequest> for EngineAPI request structs #606

Merged

Conversation

ManuelBilbao
Copy link
Contributor

Motivation

This avoid us to repeat the JSON-RPC specification on every request we want to make with EngineAPI.

Description

The trait Into<RpcRequest> was implemented for every used EngineAPI request structure (e.g. NewPayloadV3Request) so we can create an Engine request and then convert it to an RpcRequest.

@ManuelBilbao ManuelBilbao requested a review from ilitteri October 1, 2024 21:10
@ManuelBilbao ManuelBilbao requested a review from a team as a code owner October 1, 2024 21:10
Copy link
Contributor

@ilitteri ilitteri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one comment

@ilitteri ilitteri merged commit 934a25a into ethereum_rust_l2_consensus_mock Oct 2, 2024
1 of 7 checks passed
@ilitteri ilitteri deleted the l2_engine_requests_into_rpc branch October 2, 2024 14:06
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.

2 participants