rephrase context enum for blocks_by requests

This commit is contained in:
Danny Ryan 2021-07-23 07:54:26 -06:00
parent 3b34f16e5a
commit 35df4b2d4f
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ details on how to handle transitioning gossip topics for the Merge.
**Protocol ID:** `/eth2/beacon_chain/req/beacon_blocks_by_range/2/` **Protocol ID:** `/eth2/beacon_chain/req/beacon_blocks_by_range/2/`
Request and Response remain unchanged. Request and Response remain unchanged.
`MERGE_FORK_VERSION` is used as an additional `context` to specify the Merge block type. The Merge fork-digest is introduced to the `context` enum to specify the Merge block type.
Per `context = compute_fork_digest(fork_version, genesis_validators_root)`: Per `context = compute_fork_digest(fork_version, genesis_validators_root)`:
@ -98,7 +98,7 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`:
**Protocol ID:** `/eth2/beacon_chain/req/beacon_blocks_by_root/2/` **Protocol ID:** `/eth2/beacon_chain/req/beacon_blocks_by_root/2/`
Request and Response remain unchanged. Request and Response remain unchanged.
`MERGE_FORK_VERSION` is used as an additional `context` to specify the Merge block type. The Merge fork-digest is introduced to the `context` enum to specify the Merge block type.
Per `context = compute_fork_digest(fork_version, genesis_validators_root)`: Per `context = compute_fork_digest(fork_version, genesis_validators_root)`: