Skip to content

Commit 2a15cc7

Browse files
authored
Update publishBlindedBlockV2 request schema for Deneb (#321)
1 parent 68b17cb commit 2a15cc7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

apis/beacon/blocks/blinded_blocks.v2.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ post:
1313
successful. The beacon node is expected to integrate the new block into its state, and
1414
therefore validate the block internally, however blocks which fail the validation are still
1515
broadcast but a different status code is returned (202). Pre-Bellatrix, this endpoint will accept
16-
a `SignedBeaconBlock`. The broadcast behaviour may be adjusted via the `broadcast_validation`
16+
a `SignedBeaconBlock`. After Deneb, this additionally instructs the beacon node to broadcast all given
17+
signed blobs. The broadcast behaviour may be adjusted via the `broadcast_validation`
1718
query parameter.
1819
parameters:
1920
- name: broadcast_validation
@@ -54,7 +55,7 @@ post:
5455
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
5556
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
5657
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
57-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
58+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBlockContents"
5859
application/octet-stream:
5960
schema:
6061
description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body."

apis/beacon/blocks/blocks.v2.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ post:
1111
The beacon node is also expected to integrate the block into the state, but may broadcast it
1212
before doing so, so as to aid timely delivery of the block. Should the block fail full
1313
validation, a separate success response code (202) is used to indicate that the block was
14-
successfully broadcast but failed integration. The broadcast behaviour may be adjusted via the
14+
successfully broadcast but failed integration. After Deneb, this additionally instructs
15+
the beacon node to broadcast all given signed blobs. The broadcast behaviour may be adjusted via the
1516
`broadcast_validation` query parameter.
1617
parameters:
1718
- name: broadcast_validation
@@ -52,7 +53,7 @@ post:
5253
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
5354
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock"
5455
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBeaconBlock"
55-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBeaconBlock"
56+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlockContents"
5657
application/octet-stream:
5758
schema:
5859
description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body."

0 commit comments

Comments
 (0)