From 73e77b75e16ee564cc06e006f5c2b4da2b09f59a Mon Sep 17 00:00:00 2001 From: Justin Date: Tue, 4 Dec 2018 12:37:05 +0000 Subject: [PATCH] Fix #223 `next_start_shard` does not need to be part of `state` (it's already available via `(state.shard_committees_at_slots[-1][-1].shard + 1) % SHARD_COUNT`) --- 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 712cb0403..8d76006a8 100644 --- a/specs/core/0_beacon-chain.md +++ b/specs/core/0_beacon-chain.md @@ -1512,7 +1512,7 @@ And perform the following updates to the `state`: * Set `state.validator_registry_latest_change_slot = s + EPOCH_LENGTH`. * Set `state.shard_committees_at_slots[:EPOCH_LENGTH] = state.shard_committees_at_slots[EPOCH_LENGTH:]`. -* Let `state.next_start_shard = (state.shard_committees_at_slots[-1][-1].shard + 1) % SHARD_COUNT`. +* Let `next_start_shard = (state.shard_committees_at_slots[-1][-1].shard + 1) % SHARD_COUNT`. * Set `state.shard_committees_at_slots[EPOCH_LENGTH:] = get_new_shuffling(state.next_seed, state.validator_registry, next_start_shard)`. * Set `state.next_seed = state.randao_mix`.