Skip to content

Commit

Permalink
from on_block to state_transition
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Nov 30, 2023
1 parent 662c6eb commit bdac932
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specs/deneb/p2p-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,9 @@ No more than `MAX_REQUEST_BLOCKS_DENEB` may be requested at a time.
Clients SHOULD include a block in the response as soon as it passes the gossip validation rules.

*[New in Deneb:EIP4844]*
Clients MAY continue serving blocks after failed `fork_choice.on_block` if and only if the failure reason is due to missing blobs. (i.e. some sidecars are missing but the available ones have been fully verified against the fully validated block).
Clients SHOULD NOT include blocks for which one of the following conditions is met:
- `state_transition(block)` fails.
- the kzg proof of an available blob is invalid with respect to `blob_kzg_commitments` in the `block` (i.e. `verify_blob_kzg_proof_batch` fails on one or more known blobs).

##### BlobSidecarsByRoot v1

Expand Down Expand Up @@ -307,9 +309,9 @@ Clients MUST respond with at least one sidecar, if they have it.
Clients MAY limit the number of blocks and sidecars in the response.

Clients SHOULD include a sidecar in the response as soon as it passes the gossip validation rules.
Clients MUST NOT respond with sidecars that failed gossip validation.
Clients MUST NOT respond with sidecars related to blocks that failed `fork_choice.on_block`.
Clients MAY continue serving sidecars after failed `fork_choice.on_block` if and only if the failure reason is due to missing blobs. (i.e. some sidecars are missing but the available ones have been fully verified against the fully validated block).
Clients SHOULD NOT include sidecars related to blocks for which one of the following conditions is met:
- `state_transition(block)` fails.
- the kzg proof of an available blob is invalid with respect to `blob_kzg_commitments` in the `block` (i.e. `verify_blob_kzg_proof_batch` fails on one or more known blobs).

##### BlobSidecarsByRange v1

Expand Down

0 comments on commit bdac932

Please sign in to comment.