Skip to content

Commit 7c10922

Browse files
committed
p2p: clean up payload_attestation_message conditions
1 parent 8f8ab03 commit 7c10922

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

specs/_features/eip7732/p2p-interface.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,13 @@ This topic is used to propagate signed payload attestation message.
154154

155155
The following validations MUST pass before forwarding the `payload_attestation_message` on the network, assuming the alias `data = payload_attestation_message.data`:
156156

157-
- _[IGNORE]_ `data.slot` is the current slot.
158-
- _[REJECT]_ `data.payload_status < PAYLOAD_INVALID_STATUS`
159-
- _[IGNORE]_ the `payload_attestation_message` is the first valid payload attestation message received from the validator index.
160-
- _[IGNORE]_ The attestation's `data.beacon_block_root` has been seen (via both gossip and non-gossip sources) (a client MAY queue attestation for processing once the block is retrieved. Note a client might want to request payload after).
161-
_ _[REJECT]_ The beacon block with root `data.beacon_block_root` passes validation.
162-
- _[REJECT]_ The validator index is within the payload committee in `get_ptc(state, data.slot)`. For the current's slot head state.
163-
- _[REJECT]_ The signature of `payload_attestation_message.signature` is valid with respect to the validator index.
157+
- _[IGNORE]_ The message's slot is for the current slot (with a `MAXIMUM_GOSSIP_CLOCK_DISPARITY` allowance), i.e. `data.slot == current_slot`.
158+
- _[REJECT]_ The message's payload status is a valid status, i.e. `data.payload_status < PAYLOAD_INVALID_STATUS`.
159+
- _[IGNORE]_ The `payload_attestation_message` is the first valid message received from the validator with index `payload_attestation_message.validate_index`.
160+
- _[IGNORE]_ The message's block `data.beacon_block_root` has been seen (via both gossip and non-gossip sources) (a client MAY queue attestation for processing once the block is retrieved. Note a client might want to request payload after).
161+
- _[REJECT]_ The message's block `data.beacon_block_root` passes validation.
162+
- _[REJECT]_ The message's validator index is within the payload committee in `get_ptc(state, data.slot)`. The `state` is the head state corresponding to processing the block up to the current slot as determined by the fork choice.
163+
- _[REJECT]_ The message's signature of `payload_attestation_message.signature` is valid with respect to the validator index.
164164

165165
###### `execution_payload_header`
166166

0 commit comments

Comments
 (0)