Skip to content
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions specs/gloas/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ The validator creates `payload_attestation_message` as follows:
- If a previously seen `SignedExecutionPayloadEnvelope` references the block
with root `data.beacon_block_root`, set `data.payload_present` to `True`;
otherwise, set `data.payload_present` to `False`.
- Set `data.blob_data_available` to `True`, if
`is_data_available(data.beacon_block_root)` returns `True`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can be simplified a bit 😄

Suggested change
- Set `data.blob_data_available` to `True`, if
`is_data_available(data.beacon_block_root)` returns `True`.
- Set `data.blob_data_available` to `is_data_available(data.beacon_block_root)`.

- Set `payload_attestation_message.validator_index = validator_index` where
`validator_index` is the validator chosen to submit. The private key mapping
to `state.validators[validator_index].pubkey` is used to sign the payload
Expand Down