Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Jun 5, 2024
1 parent d7f774d commit 0da8151
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions apis/beacon/pool/attestations.v2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get:
operationId: getPoolAttestationsV2
summary: Get Attestations from operations pool
summary: Get attestations from operations pool
description: Retrieves attestations known by the node but not necessarily incorporated into any block
parameters:
- name: slot
Expand Down Expand Up @@ -56,18 +56,18 @@ post:
operationId: submitPoolAttestationsV2
summary: Submit Attestation objects to node
description: |
Submits Attestation objects to the node. Each attestation in the request body is processed individually.
Submits Attestation objects to the node. Each attestation in the request body is processed individually.
If an attestation is validated successfully the node MUST publish that attestation on the appropriate subnet.
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.
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."
description: "Version of the attestation being submitted."
tags:
- Beacon
- ValidatorRequiredApi
Expand All @@ -85,7 +85,7 @@ post:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.Attestation'
responses:
"200":
description: Attestations are stored in pool and broadcast on appropriate subnet
description: Attestations are stored in pool and broadcast on the appropriate subnet
"400":
description: "Errors with one or more attestations"
content:
Expand Down
6 changes: 3 additions & 3 deletions apis/beacon/pool/attester_slashings.v2.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
get:
operationId: getPoolAttesterSlashingsV2
summary: Get AttesterSlashings from operations pool
summary: Get attester slashings from operations pool
description: Retrieves attester slashings known by the node but not necessarily incorporated into any block
tags:
- Beacon
Expand Down Expand Up @@ -35,14 +35,14 @@ get:
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.
description: Submits AttesterSlashing object to node's pool. Upon successful validation the 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."
description: "Version of the attester slashing being submitted."
tags:
- Beacon
requestBody:
Expand Down

0 comments on commit 0da8151

Please sign in to comment.