Skip to content

Commit

Permalink
rebase master
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-aouadi committed Jun 27, 2024
1 parent ea9832e commit 3261557
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion apis/beacon/blocks/attestations.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ get:
in: path
required: true
$ref: '../../../beacon-node-oapi.yaml#/components/parameters/BlockId'

responses:
"200":
description: Success
Expand Down
2 changes: 1 addition & 1 deletion apis/beacon/pool/attestations.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ post:
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/ConsensusVersion'
required: true
name: Eth-Consensus-Version
description: "Version of the attestation being submitted."
description: "Version of the attestations being submitted."
tags:
- Beacon
- ValidatorRequiredApi
Expand Down
2 changes: 0 additions & 2 deletions beacon-node-oapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,6 @@ components:
$ref: './types/primitive.yaml#/Blob'
Deneb.BlobSidecars:
$ref: './types/deneb/blob_sidecar.yaml#/Deneb/BlobSidecars'
Electra.Attestation:
$ref: './types/electra/attestation.yaml#/Electra/Attestation'
Node:
$ref: './types/fork_choice.yaml#/Node'
ExtraData:
Expand Down
1 change: 1 addition & 0 deletions types/attestation.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
IndexedAttestation:
type: object
description: "The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#indexedattestation) object from the CL spec."
required: [attesting_indices, signature, data]
properties:
attesting_indices:
type: array
Expand Down
2 changes: 1 addition & 1 deletion types/attestation_data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ AttestationData:
source:
$ref: "./misc.yaml#/Checkpoint"
target:
$ref: "./misc.yaml#/Checkpoint"
$ref: "./misc.yaml#/Checkpoint"
7 changes: 4 additions & 3 deletions types/electra/attestation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Electra:
IndexedAttestation:
type: object
description: "The [`IndexedAttestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.2/specs/electra/beacon-chain.md#indexedattestation) object from the CL spec."
required: [attesting_indices, signature, data]
properties:
attesting_indices:
type: array
Expand All @@ -17,8 +18,8 @@ Electra:

Attestation:
type: object
description: "The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.2/specs/electra/beacon-chain.md#attestation) object from the CL spec."
required: [aggregation_bits, signature, committee_bits, data]
description: "The [`Attestation`](https://github.com/ethereum/consensus-specs/blob/v1.5.0-alpha.3/specs/electra/beacon-chain.md#attestation) object from the CL spec."
required: [aggregation_bits, data, signature, committee_bits]
properties:
aggregation_bits:
$ref: "../primitive.yaml#/BitList"
Expand All @@ -31,4 +32,4 @@ Electra:
committee_bits:
$ref: "../primitive.yaml#/Bitvector"
description: "Committee bits."
example: "0x000000000000000000000000000000000000000000000000000
example: "0x000000000000000000000000000000000000000000000000000"

0 comments on commit 3261557

Please sign in to comment.