Update doc
This commit is contained in:
parent
a8160f1634
commit
8708ec4bb0
|
@ -663,9 +663,11 @@ def process_sync_committee_updates(state: BeaconState) -> None:
|
|||
state.next_sync_committee = get_sync_committee(state, next_epoch + EPOCHS_PER_SYNC_COMMITTEE_PERIOD)
|
||||
```
|
||||
|
||||
## Initialize state for testnets
|
||||
## Initialize state for Altair testnets
|
||||
|
||||
This helper function is only for initialize Altair testnets and tests.
|
||||
This helper function is only for initializing the pure Altair testnets and tests, where we use the dummy where the `ALTAIR_FORK_SLOT` GENESIS_SLOT`.
|
||||
|
||||
*Note*: The function `initialize_beacon_state_from_eth1` is modified with `ALTAIR_FORK_VERSION` fork version and initial sync committees.
|
||||
|
||||
```python
|
||||
def initialize_beacon_state_from_eth1(eth1_block_hash: Bytes32,
|
||||
|
|
Loading…
Reference in New Issue