Merge pull request #2510 from terencechain/patch-125

Update `get_next_sync_committee` notes
This commit is contained in:
Danny Ryan 2021-07-07 16:12:51 -06:00 committed by GitHub
commit d2c3106590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ def get_next_sync_committee_indices(state: BeaconState) -> Sequence[ValidatorInd
#### `get_next_sync_committee`
*Note*: The function `get_next_sync_committee` should only be called at sync committee period boundaries.
*Note*: The function `get_next_sync_committee` should only be called at sync committee period boundaries and when [upgrading state to Altair](./fork.md#upgrading-the-state).
```python
def get_next_sync_committee(state: BeaconState) -> SyncCommittee: