-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from rolfyone/sync_committees
add POST `/eth/v1/beacon/pool/sync_committees`
- Loading branch information
Showing
3 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
post: | ||
operationId: submitPoolSyncCommitteeSignatures | ||
summary: Submit sync committee signatures to node | ||
description: | | ||
Submits sync committee signature objects to the node. | ||
Sync committee signatures are not present in phase0, but are required for Altair networks. | ||
If a sync committee signature is validated successfully the node MUST publish that sync committee signature on all applicable subnets. | ||
If one or more sync committee signatures fail validation the node MUST return a 400 error with details of which sync committee signatures have failed, and why. | ||
tags: | ||
- Beacon | ||
- ValidatorRequiredApi | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: array | ||
items: | ||
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Altair.SyncCommitteeSignature' | ||
responses: | ||
"200": | ||
description: Sync committee signatures are stored in pool and broadcast on appropriate subnet | ||
"400": | ||
description: "Errors with one or more sync committee signatures" | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/IndexedErrorMessage" | ||
"500": | ||
$ref: '../../../beacon-node-oapi.yaml#/components/responses/InternalError' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters