From b55efcc957b4cfa4bfd0884a4d47f16bb07aa8f6 Mon Sep 17 00:00:00 2001 From: Paul Harris Date: Tue, 16 May 2023 13:13:35 +1000 Subject: [PATCH] removed deprecated heads endpoint --- CHANGES.md | 3 +++ apis/debug/heads.yaml | 27 --------------------------- beacon-node-oapi.yaml | 2 -- 3 files changed, 3 insertions(+), 29 deletions(-) delete mode 100644 apis/debug/heads.yaml diff --git a/CHANGES.md b/CHANGES.md index 7266ce9e..72a4836c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -16,6 +16,9 @@ There are likely to be descriptions etc outside of the list below, but new query | [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v2/beacon/blocks/{block_id}` added `deneb` block to response | | | | | | | [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v1/validator/blinded_blocks/{slot}` added `deneb` blinded block | | | | | | | [#289](https://github.com/ethereum/beacon-APIs/pull/289) `/eth/v1/validator/blocks/{slot}` added `deneb` block | | | | | | +| `/eth/v1/debug/beacon/heads` removed deprecated endpoint | | | | | | + + The Following are no longer in the Standard API, removed since the latest version. diff --git a/apis/debug/heads.yaml b/apis/debug/heads.yaml deleted file mode 100644 index 49719294..00000000 --- a/apis/debug/heads.yaml +++ /dev/null @@ -1,27 +0,0 @@ -get: - operationId: getDebugChainHeads - summary: Get fork choice leaves - description: Retrieves all possible chain heads (leaves of fork choice tree). - deprecated: true - tags: - - Debug - responses: - "200": - description: Success - content: - application/json: - schema: - title: GetDebugChainHeadsResponse - type: object - properties: - data: - type: array - items: - type: object - properties: - root: - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Root" - slot: - $ref: "../../beacon-node-oapi.yaml#/components/schemas/Uint64" - "500": - $ref: "../../beacon-node-oapi.yaml#/components/responses/InternalError" diff --git a/beacon-node-oapi.yaml b/beacon-node-oapi.yaml index 58276833..3eeb7dcb 100644 --- a/beacon-node-oapi.yaml +++ b/beacon-node-oapi.yaml @@ -137,8 +137,6 @@ paths: /eth/v2/debug/beacon/states/{state_id}: $ref: './apis/debug/state.v2.yaml' - /eth/v1/debug/beacon/heads: - $ref: './apis/debug/heads.yaml' /eth/v2/debug/beacon/heads: $ref: './apis/debug/heads.v2.yaml' /eth/v1/debug/fork_choice: