From c7ac49ec4276c0bd4b5f7a7fac4d35d2e8b5a270 Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Mon, 2 Oct 2023 00:53:23 +0200 Subject: [PATCH] blocksv3: add consensus value (#358) --- apis/validator/block.v3.yaml | 5 +++++ beacon-node-oapi.yaml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/apis/validator/block.v3.yaml b/apis/validator/block.v3.yaml index 52a786a8..c4cfc9c6 100644 --- a/apis/validator/block.v3.yaml +++ b/apis/validator/block.v3.yaml @@ -53,6 +53,8 @@ get: $ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Execution-Payload-Blinded' Eth-Execution-Payload-Value: $ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Execution-Payload-Value' + Eth-Consensus-Block-Value: + $ref: '../../beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Block-Value' content: application/json: schema: @@ -69,6 +71,9 @@ get: execution_payload_value: type: string example: "12345" + consensus_block_value: + type: string + example: "12345" data: oneOf: - $ref: '../../beacon-node-oapi.yaml#/components/schemas/BeaconBlock' diff --git a/beacon-node-oapi.yaml b/beacon-node-oapi.yaml index 03c36c00..5e12bfdc 100644 --- a/beacon-node-oapi.yaml +++ b/beacon-node-oapi.yaml @@ -434,3 +434,8 @@ components: required: true schema: $ref: './types/primitive.yaml#/Wei' + Eth-Consensus-Block-Value: + description: Required in response so client can determine relative value of consensus blocks. + required: true + schema: + $ref: './types/primitive.yaml#/Wei'