diff --git a/apis/beacon/pool/attestations.v2.yaml b/apis/beacon/pool/attestations.v2.yaml index 01967546..2ca27824 100644 --- a/apis/beacon/pool/attestations.v2.yaml +++ b/apis/beacon/pool/attestations.v2.yaml @@ -61,6 +61,13 @@ post: If an attestation is validated successfully the node MUST publish that attestation on the appropriate subnet. If one or more attestations fail validation the node MUST return a 400 error with details of which attestations have failed, and why. + parameters: + - in: header + schema: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' + required: true + name: Eth-Consensus-Version + description: "Version of the block being submitted." tags: - Beacon - ValidatorRequiredApi diff --git a/apis/beacon/pool/attester_slashings.v2.yaml b/apis/beacon/pool/attester_slashings.v2.yaml index 783eee67..67e14aad 100644 --- a/apis/beacon/pool/attester_slashings.v2.yaml +++ b/apis/beacon/pool/attester_slashings.v2.yaml @@ -36,6 +36,13 @@ post: operationId: submitPoolAttesterSlashingsV2 summary: Submit AttesterSlashing object to node's pool description: Submits AttesterSlashing object to node's pool and if passes validation node MUST broadcast it to network. + parameters: + - in: header + schema: + $ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion' + required: true + name: Eth-Consensus-Version + description: "Version of the block being submitted." tags: - Beacon requestBody: