Skip to content

Commit 06fe616

Browse files
authored
Merge pull request #3551 from tbenr/specify_rpc_by_root_elegibility
Specify when clients can serve block and sidecars in byRoot RPC methods
2 parents 113c58f + d343b6f commit 06fe616

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

specs/deneb/p2p-interface.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ Per `context = compute_fork_digest(fork_version, genesis_validators_root)`:
252252

253253
No more than `MAX_REQUEST_BLOCKS_DENEB` may be requested at a time.
254254

255+
*[Modified in Deneb:EIP4844]*
256+
Clients SHOULD include a block in the response as soon as it passes the gossip validation rules.
257+
Clients SHOULD NOT respond with blocks that fail the beacon chain state transition.
258+
255259
##### BlobSidecarsByRoot v1
256260

257261
**Protocol ID:** `/eth2/beacon_chain/req/blob_sidecars_by_root/1/`
@@ -300,6 +304,10 @@ Clients MUST support requesting sidecars since `minimum_request_epoch`, where `m
300304
Clients MUST respond with at least one sidecar, if they have it.
301305
Clients MAY limit the number of blocks and sidecars in the response.
302306

307+
Clients SHOULD include a sidecar in the response as soon as it passes the gossip validation rules.
308+
Clients SHOULD NOT respond with sidecars related to blocks that fail gossip validation rules.
309+
Clients SHOULD NOT respond with sidecars related to blocks that fail the beacon chain state transition
310+
303311
##### BlobSidecarsByRange v1
304312

305313
**Protocol ID:** `/eth2/beacon_chain/req/blob_sidecars_by_range/1/`

specs/phase0/p2p-interface.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,9 @@ Clients MUST support requesting blocks since the latest finalized epoch.
856856
Clients MUST respond with at least one block, if they have it.
857857
Clients MAY limit the number of blocks in the response.
858858

859+
Clients MAY include a block in the response as soon as it passes the gossip validation rules.
860+
Clients SHOULD NOT respond with blocks that fail the beacon chain state transition.
861+
859862
`/eth2/beacon_chain/req/beacon_blocks_by_root/1/` is deprecated. Clients MAY respond with an empty list during the deprecation transition period.
860863

861864
##### Ping

0 commit comments

Comments
 (0)