From 8708ec4bb0e2e59ef8ac050b51ced5f4867afc1a Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Mon, 12 Apr 2021 22:02:04 +0800 Subject: [PATCH] Update doc --- specs/altair/beacon-chain.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specs/altair/beacon-chain.md b/specs/altair/beacon-chain.md index 9f9af9de7..e14a0f5c0 100644 --- a/specs/altair/beacon-chain.md +++ b/specs/altair/beacon-chain.md @@ -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,