From e2f4e32332de6ff28815b69dba861c292686222a Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 27 Feb 2019 11:27:23 -0700 Subject: [PATCH] fix committee start shard bug --- specs/core/0_beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/core/0_beacon-chain.md b/specs/core/0_beacon-chain.md index e8347704e..05bb37f48 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1978,8 +1978,8 @@ def update_validator_registry(state: BeaconState) -> None: and perform the following updates: -* Set `state.current_shuffling_epoch = next_epoch` * Set `state.current_shuffling_start_shard = (state.current_shuffling_start_shard + get_current_epoch_committee_count(state)) % SHARD_COUNT` +* Set `state.current_shuffling_epoch = next_epoch` * Set `state.current_shuffling_seed = generate_seed(state, state.current_shuffling_epoch)` If a validator registry update does _not_ happen do the following: