Skip to content

Commit d8f1f17

Browse files
authored
Clarify that version header is only required with SSZ encoding (#118)
1 parent 1569fc4 commit d8f1f17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

apis/builder/blinded_blocks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ post:
2222
$ref: "../../builder-oapi.yaml#/components/schemas/ConsensusVersion"
2323
required: false
2424
name: Eth-Consensus-Version
25-
description: "Version of the block being submitted"
25+
description: "The active consensus version to which the block being submitted belongs. Required if request is SSZ encoded."
2626
requestBody:
2727
description: A `SignedBlindedBeaconBlock`.
2828
required: true

builder-oapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ components:
108108
headers:
109109
Eth-Consensus-Version:
110110
$ref: "./beacon-apis/beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Version"
111+
description: "The active consensus version to which the data belongs. Required if response is SSZ encoded."
111112
schema:
112113
$ref: "#/components/schemas/ConsensusVersion"
113114

0 commit comments

Comments
 (0)