Merge pull request #372 from terenc3t/patch-25

Rewording Validator Registry Precondition
This commit is contained in:
Danny Ryan 2019-01-08 08:43:59 -07:00 committed by GitHub
commit 9f87511632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1658,7 +1658,7 @@ def process_ejections(state: BeaconState) -> None:
If the following are satisfied: If the following are satisfied:
* `state.finalized_slot > state.validator_registry_latest_change_slot` * `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 update the validator registry and associated fields by running