Fix typos
This commit is contained in:
parent
8acb254511
commit
bae3384071
|
@ -76,7 +76,7 @@ Alias `block = signed_beacon_block.message`, `execution_payload = block.body.exe
|
||||||
then validate the following:
|
then validate the following:
|
||||||
- _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot
|
- _[REJECT]_ The block's execution payload timestamp is correct with respect to the slot
|
||||||
-- i.e. `execution_payload.timestamp == compute_timestamp_at_slot(state, block.slot)`.
|
-- i.e. `execution_payload.timestamp == compute_timestamp_at_slot(state, block.slot)`.
|
||||||
- If `exection_payload` verification of block's parent by an execution node is *not* complete:
|
- If `execution_payload` verification of block's parent by an execution node is *not* complete:
|
||||||
- [REJECT] The block's parent (defined by `block.parent_root`) passes all
|
- [REJECT] The block's parent (defined by `block.parent_root`) passes all
|
||||||
validation (excluding execution node verification of the `block.body.execution_payload`).
|
validation (excluding execution node verification of the `block.body.execution_payload`).
|
||||||
- otherwise:
|
- otherwise:
|
||||||
|
|
|
@ -373,8 +373,8 @@ def test_invalid_signature_previous_committee(spec, state):
|
||||||
current_epoch = spec.get_current_epoch(state)
|
current_epoch = spec.get_current_epoch(state)
|
||||||
old_sync_committee = state.next_sync_committee
|
old_sync_committee = state.next_sync_committee
|
||||||
|
|
||||||
epoch_in_future_sync_commitee_period = current_epoch + 2 * spec.EPOCHS_PER_SYNC_COMMITTEE_PERIOD
|
epoch_in_future_sync_committee_period = current_epoch + 2 * spec.EPOCHS_PER_SYNC_COMMITTEE_PERIOD
|
||||||
slot_in_future_sync_committee_period = epoch_in_future_sync_commitee_period * spec.SLOTS_PER_EPOCH
|
slot_in_future_sync_committee_period = epoch_in_future_sync_committee_period * spec.SLOTS_PER_EPOCH
|
||||||
transition_to(spec, state, slot_in_future_sync_committee_period)
|
transition_to(spec, state, slot_in_future_sync_committee_period)
|
||||||
|
|
||||||
# Use the previous sync committee to produce the signature.
|
# Use the previous sync committee to produce the signature.
|
||||||
|
|
Loading…
Reference in New Issue