mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-02 10:54:59 -05:00
Calc the right root with respect to (slot, shard) for an empty PendingShardHeader
This commit is contained in:
@@ -763,7 +763,7 @@ def reset_pending_headers(state: BeaconState) -> None:
|
||||
slot=slot,
|
||||
shard=shard,
|
||||
commitment=DataCommitment(),
|
||||
root=Root(),
|
||||
root=hash_tree_root(ShardBlobHeader(slot = slot, shard = shard)),
|
||||
votes=Bitlist[MAX_VALIDATORS_PER_COMMITTEE]([0] * committee_length),
|
||||
confirmed=False,
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user