SSZ-REST Engine API transport (CL client)#8937
Draft
Giulio2002 wants to merge 4 commits intosigp:unstablefrom
Draft
SSZ-REST Engine API transport (CL client)#8937Giulio2002 wants to merge 4 commits intosigp:unstablefrom
Giulio2002 wants to merge 4 commits intosigp:unstablefrom
Conversation
Implement SSZ-REST transport for all Engine API methods: - new_payload (v3/v4) - forkchoice_updated (v3) - get_payload (v3/v4/v5) - exchange_capabilities (v1) - get_blobs (v1, stub) New CLI flag --ssz-rest-url enables SSZ-REST with automatic fallback to JSON-RPC on network errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- new_payload → POST /engine/v{N}/payloads
- forkchoice_updated → POST /engine/v3/forkchoice
- get_payload → GET /engine/v{N}/payloads/{payload_id}
- exchange_capabilities → POST /engine/v1/capabilities
- Error responses now text/plain instead of JSON
- Added do_get_request/do_http for GET support
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Per execution-apis PR sigp#764 spec: - PayloadStatus.latest_valid_hash: List[Hash32, 1] - ForkchoiceUpdatedResponse.payload_id: List[Bytes8, 1] - ForkchoiceUpdatedRequest.payload_attributes: List[PayloadAttributes, 1] - Remove unused UnknownSelector/ServerError variants Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SSZ-REST URL is now derived from the execution endpoint (same host:port). The EL serves SSZ-REST on the engine port under /engine/* paths. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
Author
|
Implements the SSZ-REST Engine API transport spec: ethereum/execution-apis#764 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implements SSZ-REST Engine API transport on the consensus layer (client side), as specified in ethereum/execution-apis#764.
--ssz-rest-urlto configure SSZ-REST endpointnew_payload(v3/v4),forkchoice_updated(v3),get_payload(v1-v5),exchange_capabilities