From ddc59422ba31e8ec164239280a69868ae65ce7ce Mon Sep 17 00:00:00 2001 From: Anton Nashatyrev Date: Wed, 5 May 2021 13:21:15 +0300 Subject: [PATCH] Revert "Calc the right root with respect to (slot, shard) for an empty PendingShardHeader" This reverts commit 2199b8e0 --- specs/sharding/beacon-chain.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/sharding/beacon-chain.md b/specs/sharding/beacon-chain.md index 68f6ccaa2..decffdaa7 100644 --- a/specs/sharding/beacon-chain.md +++ b/specs/sharding/beacon-chain.md @@ -763,7 +763,7 @@ def reset_pending_headers(state: BeaconState) -> None: slot=slot, shard=shard, commitment=DataCommitment(), - root=hash_tree_root(ShardBlobHeader(slot = slot, shard = shard)), + root=Root(), votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length), confirmed=False, ))