mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-12 19:54:34 +00:00
remove get_committee_count
This commit is contained in:
parent
b3a0a03f85
commit
5ccac7c206
@ -81,7 +81,6 @@
|
||||
- [`get_active_validator_indices`](#get_active_validator_indices)
|
||||
- [`get_validator_churn_limit`](#get_validator_churn_limit)
|
||||
- [`get_seed`](#get_seed)
|
||||
- [`get_committee_count`](#get_committee_count)
|
||||
- [`get_crosslink_committee`](#get_crosslink_committee)
|
||||
- [`get_beacon_proposer_index`](#get_beacon_proposer_index)
|
||||
- [`get_total_balance`](#get_total_balance)
|
||||
@ -859,16 +858,6 @@ def get_seed(state: BeaconState, epoch: Epoch, domain_type: DomainType) -> Hash:
|
||||
return hash(domain_type + int_to_bytes(epoch, length=8) + mix)
|
||||
```
|
||||
|
||||
#### `get_committee_count`
|
||||
|
||||
```python
|
||||
def get_committee_count(state: BeaconState, epoch: Epoch) -> uint64:
|
||||
"""
|
||||
Return the number of committees at ``epoch``.
|
||||
"""
|
||||
return COMMITTEES_PER_SLOT
|
||||
```
|
||||
|
||||
#### `get_crosslink_committee`
|
||||
|
||||
```python
|
||||
|
Loading…
x
Reference in New Issue
Block a user