From e08c365e2fa3f8a8200258a59230b2b6b37f9653 Mon Sep 17 00:00:00 2001 From: vbuterin Date: Wed, 31 Jul 2019 17:25:55 -0400 Subject: [PATCH] Update specs/core/1_shard-data-chains.md Co-Authored-By: Hsiao-Wei Wang --- specs/core/1_shard-data-chains.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specs/core/1_shard-data-chains.md b/specs/core/1_shard-data-chains.md index 0fcbfe991..266e46d63 100644 --- a/specs/core/1_shard-data-chains.md +++ b/specs/core/1_shard-data-chains.md @@ -421,6 +421,7 @@ def shard_slot_transition(state: ShardState, beacon_state: BeaconState) -> None: h = hash_tree_root(state) while state.slot % 2**depth == 0: state.history_acc[depth] = h + depth += 1 # Period transitions if (state.slot + 1) % (SHARD_SLOTS_PER_BEACON_SLOT * SLOTS_PER_EPOCH * EPOCHS_PER_SHARD_PERIOD) == 0: