Skip to content

Commit e57de72

Browse files
committed
Fix some nits with bellatrix p2p formatting
1 parent ffdb390 commit e57de72

1 file changed

Lines changed: 16 additions & 14 deletions

File tree

specs/bellatrix/p2p-interface.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,22 @@ In addition to the gossip validations for this topic from prior specifications,
7676
the following validations MUST pass before forwarding the `signed_beacon_block` on the network.
7777
Alias `block = signed_beacon_block.message`, `execution_payload = block.body.execution_payload`.
7878

79-
- If the execution is enabled for the block -- i.e. `is_execution_enabled(state, block.body)`
80-
then validate the following:
81-
- _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot
82-
-- i.e. `execution_payload.timestamp == compute_timestamp_at_slot(state, block.slot)`.
83-
- If `execution_payload` verification of block's parent by an execution node is *not* complete:
84-
- [REJECT] The block's parent (defined by `block.parent_root`) passes all
85-
validation (excluding execution node verification of the `block.body.execution_payload`).
86-
- otherwise:
87-
- [IGNORE] The block's parent (defined by `block.parent_root`) passes all
88-
validation (including execution node verification of the `block.body.execution_payload`).
89-
90-
The following gossip validation from prior specifications MUST NOT be applied if the execution is enabled for the block -- i.e. `is_execution_enabled(state, block.body)`:
91-
92-
- [REJECT] The block's parent (defined by `block.parent_root`) passes validation.
79+
If the execution is enabled for the block -- i.e. `is_execution_enabled(state, block.body)`
80+
then validate the following:
81+
82+
- _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot
83+
-- i.e. `execution_payload.timestamp == compute_timestamp_at_slot(state, block.slot)`.
84+
- If `execution_payload` verification of block's parent by an execution node is *not* complete:
85+
- _[REJECT]_ The block's parent (defined by `block.parent_root`) passes all
86+
validation (excluding execution node verification of the `block.body.execution_payload`).
87+
- Otherwise:
88+
- _[IGNORE]_ The block's parent (defined by `block.parent_root`) passes all
89+
validation (including execution node verification of the `block.body.execution_payload`).
90+
91+
The following gossip validation from prior specifications MUST NOT be applied if the execution is
92+
enabled for the block -- i.e. `is_execution_enabled(state, block.body)`:
93+
94+
- _[REJECT]_ The block's parent (defined by `block.parent_root`) passes validation.
9395

9496
#### Transitioning the gossip
9597

0 commit comments

Comments
 (0)