rewording for validator registry precondition

This commit is contained in:
terence tsao
2018-12-28 09:04:00 -08:00
committed by GitHub
parent 6b84dae09e
commit 10a8ba2d9e

View File

@@ -1726,7 +1726,7 @@ def process_ejections(state: BeaconState) -> None:
If the following are satisfied:
* `state.finalized_slot > state.validator_registry_latest_change_slot`
* `state.latest_crosslinks[shard].slot > state.validator_registry_latest_change_slot` for every shard number `shard` in `state.shard_committees_at_slots`
* `state.latest_crosslinks[shard].slot > state.validator_registry_latest_change_slot` for every shard number `shard` in `shard_committee` from `shard_committee_at_slot` in `state.shard_committees_at_slots`
update the validator registry and associated fields by running