Skip to content

Commit

Permalink
Merge pull request #3014 from tersec/deprecate-phase0-beacon-blocks-r…
Browse files Browse the repository at this point in the history
…eq-resp

deprecate phase 0-only versions of beacon_blocks_by_{range,root}
  • Loading branch information
hwwhww committed Nov 29, 2022
2 parents b65f1c2 + b5bcec8 commit b62c9e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions specs/phase0/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -745,6 +745,8 @@ For example, if slot 4 were empty in the previous example, the returned array wo

`step` is deprecated and must be set to 1. Clients may respond with a single block if a larger step is returned during the deprecation transition period.

`/eth2/beacon_chain/req/beacon_blocks_by_range/1/` is deprecated. Clients MAY respond with an empty list during the deprecation transition period.

`BeaconBlocksByRange` is primarily used to sync historical blocks.

The request MUST be encoded as an SSZ-container.
Expand Down Expand Up @@ -831,6 +833,8 @@ Clients MUST support requesting blocks since the latest finalized epoch.
Clients MUST respond with at least one block, if they have it.
Clients MAY limit the number of blocks in the response.

`/eth2/beacon_chain/req/beacon_blocks_by_root/1/` is deprecated. Clients MAY respond with an empty list during the deprecation transition period.

#### Ping

**Protocol ID:** `/eth2/beacon_chain/req/ping/1/`
Expand Down

0 comments on commit b62c9e8

Please sign in to comment.