BLSCommitment -> DataCommitment

This commit is contained in:
Dankrad Feist
2020-12-28 17:21:46 +00:00
committed by protolambda
parent eccae0aa89
commit 29a5d4c836

View File

@@ -190,12 +190,10 @@ class PendingShardHeader(Container):
slot: Slot
shard: Shard
# KZG10 commitment to the data
commitment: BLSCommitment
commitment: DataCommitment
# hash_tree_root of the ShardHeader (stored so that attestations
# can be checked against it)
root: Root
# Length of the data in samples
length: uint64
# Who voted for the header
votes: Bitlist[MAX_VALIDATORS_PER_COMMITTEE]
# Has this header been confirmed?