From d4b8ab1173bbc8cbde07143fdc1c264b3a3a7883 Mon Sep 17 00:00:00 2001 From: dapplion <35266934+dapplion@users.noreply.github.com> Date: Tue, 13 Dec 2022 09:29:28 +0700 Subject: [PATCH] Clarify BeaconBlockAndBlobsSidecarByRoot no blob available --- specs/eip4844/p2p-interface.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs/eip4844/p2p-interface.md b/specs/eip4844/p2p-interface.md index f031b3723..13ada494e 100644 --- a/specs/eip4844/p2p-interface.md +++ b/specs/eip4844/p2p-interface.md @@ -185,6 +185,9 @@ No more than `MAX_REQUEST_BLOCKS` may be requested at a time. The response MUST consist of zero or more `response_chunk`. Each _successful_ `response_chunk` MUST contain a single `SignedBeaconBlockAndBlobsSidecar` payload. +If any root in the request content references a block outside of the range `[max(EIP4844_FORK_EPOCH, finalized_epoch, current_epoch - MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS), current_epoch]` + peers SHOULD respond with error code `3: ResourceUnavailable`. + Clients MUST support requesting blocks and sidecars since the latest finalized epoch. Clients MUST respond with at least one block and sidecar, if they have it.