From 4fd27cc160e1cc198da94315df0e21f3b4c421e9 Mon Sep 17 00:00:00 2001 From: Justin Traglia Date: Thu, 24 Oct 2024 13:52:35 -0500 Subject: [PATCH] Fix issues --- examples/electra/submit_block_request.json | 2 +- relay-oapi.yaml | 4 ++++ types/electra/requests.yaml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/examples/electra/submit_block_request.json b/examples/electra/submit_block_request.json index ef6d4c1..fbf18ac 100644 --- a/examples/electra/submit_block_request.json +++ b/examples/electra/submit_block_request.json @@ -73,7 +73,7 @@ "target_pubkey": "0x93247f2209abcacf57b75a51dafae777f9dd38bc7053d1af526f220a7489a6d3a2753e5f3e8b1cfe39b56f43611df74a" } ] - } + }, "signature": "0x1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505cc411d61252fb6cb3fa0017b679f8bb2305b26a285fa2737f175668d0dff91cc1b66ac1fb663c9bc59509846d6ec05345bd908eda73e670af888da41af171505" } } diff --git a/relay-oapi.yaml b/relay-oapi.yaml index 4138239..7f6044d 100644 --- a/relay-oapi.yaml +++ b/relay-oapi.yaml @@ -55,6 +55,8 @@ components: $ref: "./types/capella/requests.yaml#/Capella/SubmitBlockRequest" Deneb.SubmitBlockRequest: $ref: "./types/deneb/requests.yaml#/Deneb/SubmitBlockRequest" + Electra.SubmitBlockRequest: + $ref: "./types/electra/requests.yaml#/Electra/SubmitBlockRequest" ValidatorsResponse: $ref: "./types/responses.yaml#/ValidatorsResponse" DeliveredPayloadsResponse: @@ -73,3 +75,5 @@ components: $ref: "./examples/capella/submit_block_request.json" Deneb.SubmitBlockRequest: $ref: "./examples/deneb/submit_block_request.json" + Electra.SubmitBlockRequest: + $ref: "./examples/electra/submit_block_request.json" diff --git a/types/electra/requests.yaml b/types/electra/requests.yaml index cddbf72..e723f48 100644 --- a/types/electra/requests.yaml +++ b/types/electra/requests.yaml @@ -2,4 +2,5 @@ Electra: SubmitBlockRequest: allOf: - $ref: '../bellatrix/requests.yaml#/Bellatrix/SubmitBlockRequestCommon' - - $ref: "../../builder-specs/types/electra/execution_payload_and_blobs_bundle.yaml#/Electra/ExecutionPayloadAndBlobsBundle" \ No newline at end of file + - $ref: "../../builder-specs/types/deneb/execution_payload_and_blobs_bundle.yaml#/Deneb/ExecutionPayloadAndBlobsBundle" + - $ref: "../../beacon-apis/types/electra/execution_requests.yaml#/Electra/ExecutionRequests" \ No newline at end of file