Skip to content

Commit af9c059

Browse files
authored
Merge branch 'master' into metadata-v3
2 parents 00f17f2 + cea2cbc commit af9c059

File tree

96 files changed

+916
-853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+916
-853
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- "master"
7+
- "release-*"
78
pull_request:
89
workflow_dispatch:
910

CHANGES.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,30 @@ These endpoints have been added or updated since the last release.
66

77
There are likely to be descriptions etc outside of the list below, but new query parameters, changes to headers, new endpoints should be listed.
88

9+
| Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) |
10+
|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
11+
12+
The Following are no longer in the Standard API, removed since the latest version.
13+
14+
| Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) |
15+
|----------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
16+
17+
## v3.1.0
18+
19+
These endpoints have been added or updated since the last release.
20+
21+
There are likely to be descriptions etc outside of the list below, but new query parameters, changes to headers, new endpoints should be listed.
22+
23+
| Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) |
24+
|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
25+
| [#512](https://github.com/ethereum/beacon-APIs/pull/512) `GET /eth/v1/beacon/states/{state_id}/pending_consolidations` added | | | | | |
26+
27+
## v3.0.0
28+
29+
These endpoints have been added or updated since the last release.
30+
31+
There are likely to be descriptions etc outside of the list below, but new query parameters, changes to headers, new endpoints should be listed.
32+
933
| Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) |
1034
|---------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
1135
| [#447](https://github.com/ethereum/beacon-APIs/pull/447) `GET /eth/v2/validator/aggregate_attestation` added | | | | | |
@@ -16,12 +40,20 @@ There are likely to be descriptions etc outside of the list below, but new query
1640
| [#448](https://github.com/ethereum/beacon-APIs/pull/448) `POST /eth/v2/beacon/pool/attester_slashings` added | | | | | |
1741
| [#452](https://github.com/ethereum/beacon-APIs/pull/452) `POST /eth/v1/beacon/states/{state_id}/validator_identities` added | | | | | |
1842
| [#456](https://github.com/ethereum/beacon-APIs/pull/456) `POST /eth/v2/validator/aggregate_and_proofs` added | | | | | |
19-
43+
| [#467](https://github.com/ethereum/beacon-APIs/pull/467) `POST /eth/v1/beacon/blocks` deprecated | | | | | |
44+
| [#467](https://github.com/ethereum/beacon-APIs/pull/467) `POST /eth/v1/beacon/blinded_blocks` deprecated | | | | | |
45+
| [#472](https://github.com/ethereum/beacon-APIs/pull/472) `single_attestation EVENT` added | | | | | |
46+
| [#494](https://github.com/ethereum/beacon-APIs/pull/494) `GET /eth/v1/beacon/deposit_snapshot` deprecated | | | | | |
47+
| [#498](https://github.com/ethereum/beacon-APIs/pull/498) `GET /eth/v1/builder/states/{state_id}/expected_withdrawals` deprecated | | | | | |
48+
| [#500](https://github.com/ethereum/beacon-APIs/pull/500) `GET /eth/v1/beacon/states/{state_id}/pending_deposits` added | | | | | |
49+
| [#500](https://github.com/ethereum/beacon-APIs/pull/500) `GET /eth/v1/beacon/states/{state_id}/pending_partial_withdrawals` added | | | | | |
2050

2151
The Following are no longer in the Standard API, removed since the latest version.
2252

2353
| Endpoint | [Lighthouse](https://github.com/sigp/lighthouse) | [Lodestar](https://github.com/ChainSafe/lodestar) | [Nimbus](https://github.com/status-im/nimbus-eth2) | [Prysm](https://github.com/prysmaticlabs/prysm) | [Teku](https://github.com/ConsenSys/teku) |
2454
|----------------------------------------------------------------------------------------------------------|--------------------------------------------------|---------------------------------------------------|----------------------------------------------------|-------------------------------------------------|-------------------------------------------|
55+
| [#466](https://github.com/ethereum/beacon-APIs/pull/466) `GET /eth/v2/validator/blocks/{slot}` removed | | | | | |
56+
| [#466](https://github.com/ethereum/beacon-APIs/pull/466) `GET /eth/v1/validator/blinded_blocks/{slot}` removed | | | | | |
2557

2658

2759
## v2.5.0

apis/beacon/blob_sidecars/blob_sidecars.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,25 @@ get:
2929
headers:
3030
Eth-Consensus-Version:
3131
$ref: '../../../beacon-node-oapi.yaml#/components/headers/Eth-Consensus-Version'
32-
required: false
3332
content:
3433
application/json:
3534
schema:
3635
title: GetBlobSidecarsResponse
3736
type: object
38-
required: [data]
37+
required: [version, execution_optimistic, finalized, data]
3938
properties:
4039
version:
4140
type: string
42-
enum: [phase0, altair, bellatrix, capella, deneb, electra]
43-
example: "deneb"
41+
enum: [deneb, electra]
42+
example: "electra"
4443
execution_optimistic:
4544
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic"
4645
finalized:
4746
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized"
4847
data:
49-
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.BlobSidecars"
48+
anyOf:
49+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.BlobSidecars"
50+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.BlobSidecars"
5051
application/octet-stream:
5152
schema:
5253
description: "SSZ serialized `BlobSidecars` bytes. Use Accept header to choose this response type"

apis/beacon/blocks/attestations.v2.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ get:
2626
version:
2727
type: string
2828
enum: [phase0, altair, bellatrix, capella, deneb, electra]
29-
example: "phase0"
29+
example: "electra"
3030
execution_optimistic:
3131
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic"
3232
finalized:
@@ -35,10 +35,10 @@ get:
3535
anyOf:
3636
- type: array
3737
items:
38-
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Attestation'
38+
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.Attestation'
3939
- type: array
4040
items:
41-
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Electra.Attestation'
41+
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation'
4242
"400":
4343
description: "The block ID supplied could not be parsed"
4444
content:

apis/beacon/blocks/attestations.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ get:
2828
data:
2929
type: array
3030
items:
31-
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Attestation'
31+
$ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.Attestation'
3232
"400":
3333
description: "The block ID supplied could not be parsed"
3434
content:

apis/beacon/blocks/blinded_block.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ get:
2727
version:
2828
type: string
2929
enum: [phase0, altair, bellatrix, capella, deneb, electra]
30-
example: "phase0"
30+
example: "electra"
3131
execution_optimistic:
3232
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic"
3333
finalized:
3434
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized"
3535
data:
3636
anyOf:
37-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock"
38-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
39-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
40-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
41-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
4237
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBlindedBeaconBlock"
38+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
39+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
40+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
41+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
42+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock"
4343
application/octet-stream:
4444
schema:
4545
description: "SSZ serialized block bytes. Use Accept header to choose this response type"

apis/beacon/blocks/blinded_blocks.v2.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ post:
5050
application/json:
5151
schema:
5252
anyOf:
53-
- $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock'
54-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
55-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
56-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
57-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
5853
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBlindedBeaconBlock"
54+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
55+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
56+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
57+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
58+
- $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock'
5959
application/octet-stream:
6060
schema:
6161
description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body."

apis/beacon/blocks/blinded_blocks.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ post:
2929
application/json:
3030
schema:
3131
anyOf:
32-
- $ref: '../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock'
33-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
34-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
35-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
36-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
3732
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBlindedBeaconBlock"
33+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBlindedBeaconBlock"
34+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBlindedBeaconBlock"
35+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBlindedBeaconBlock"
36+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
37+
- $ref: '../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock'
3838
application/octet-stream:
3939
schema:
4040
description: "SSZ serialized block bytes. Use content type header to indicate that SSZ data is contained in the request body."

apis/beacon/blocks/block.v2.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ get:
2727
version:
2828
type: string
2929
enum: [phase0, altair, bellatrix, capella, deneb, electra]
30-
example: "phase0"
30+
example: "electra"
3131
execution_optimistic:
3232
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/ExecutionOptimistic"
3333
finalized:
3434
$ref: "../../../beacon-node-oapi.yaml#/components/schemas/Finalized"
3535
data:
3636
anyOf:
37-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/SignedBeaconBlock"
38-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
39-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock"
40-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBeaconBlock"
41-
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBeaconBlock"
4237
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Electra.SignedBeaconBlock"
38+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Deneb.SignedBeaconBlock"
39+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Capella.SignedBeaconBlock"
40+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Bellatrix.SignedBeaconBlock"
41+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Altair.SignedBeaconBlock"
42+
- $ref: "../../../beacon-node-oapi.yaml#/components/schemas/Phase0.SignedBeaconBlock"
4343
application/octet-stream:
4444
schema:
4545
description: "SSZ serialized block bytes. Use Accept header to choose this response type"

0 commit comments

Comments
 (0)