From c286cadef222fdba070e6c1e894dd7f0ae1c5ec4 Mon Sep 17 00:00:00 2001 From: Nico Flaig Date: Wed, 2 Apr 2025 18:01:01 +0100 Subject: [PATCH] Clarify that version header is only required with SSZ encoding --- apis/builder/blinded_blocks.yaml | 2 +- builder-oapi.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/apis/builder/blinded_blocks.yaml b/apis/builder/blinded_blocks.yaml index afdf78c..d1edff9 100644 --- a/apis/builder/blinded_blocks.yaml +++ b/apis/builder/blinded_blocks.yaml @@ -22,7 +22,7 @@ post: $ref: "../../builder-oapi.yaml#/components/schemas/ConsensusVersion" required: false name: Eth-Consensus-Version - description: "Version of the block being submitted" + description: "The active consensus version to which the block being submitted belongs. Required if request is SSZ encoded." requestBody: description: A `SignedBlindedBeaconBlock`. required: true diff --git a/builder-oapi.yaml b/builder-oapi.yaml index 0aede90..6076f17 100644 --- a/builder-oapi.yaml +++ b/builder-oapi.yaml @@ -108,6 +108,7 @@ components: headers: Eth-Consensus-Version: $ref: "./beacon-apis/beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Version" + description: "The active consensus version to which the data belongs. Required if response is SSZ encoded." schema: $ref: "#/components/schemas/ConsensusVersion"