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

[Feature] Add wrapper structs for stateless APIs #1707

Open
syjn99 opened this issue Nov 29, 2024 · 0 comments
Open

[Feature] Add wrapper structs for stateless APIs #1707

syjn99 opened this issue Nov 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@syjn99
Copy link

syjn99 commented Nov 29, 2024

Component

rpc

Describe the feature you would like

I'm implementing engine_executeStatelessPayloadVX APIs(Issue#12766, PR#13016), found that rpc-types-engine should support some wrapper structs for this API. Here's the candidates, please do not hesitate if there are better options for those:

  • ExecutionPayloadWithWitnessV{1,2,3}: contains payload_inner and execution_witness(similar to the struct ExecutionWitness at go-ethereum)
    • NOTE: this struct will be used as an input value for engine_newPayloadWithWitnessV{1,2,3,4} and engine_executeStatelessPayloadV{1,2,3,4}.
  • StatelessPayloadStatus: contains status, state_root, receipts_root and latest_valid_hash.
    • NOTE: this struct will be used as an output value for engine_executeStatelessPayloadV{1,2,3,4}

I'm glad to take this issue for my first contribution to alloy. Thank you

cc. @mattsse

Additional context

No response

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

No branches or pull requests

1 participant