Merge pull request #2449 from ethereum/fix-sharding-comments

add/update comments on shard blob/header/reference body field
This commit is contained in:
Danny Ryan 2021-05-27 08:06:32 -06:00 committed by GitHub
commit d50a12cb18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -216,6 +216,7 @@ class ShardBlobHeader(Container):
# Slot and shard that this header is intended for # Slot and shard that this header is intended for
slot: Slot slot: Slot
shard: Shard shard: Shard
# SSZ-summary of ShardBlobBody
body_summary: ShardBlobBodySummary body_summary: ShardBlobBodySummary
# Proposer of the shard-blob # Proposer of the shard-blob
proposer_index: ValidatorIndex proposer_index: ValidatorIndex
@ -253,7 +254,7 @@ class ShardBlobReference(Container):
# Slot and shard that this reference is intended for # Slot and shard that this reference is intended for
slot: Slot slot: Slot
shard: Shard shard: Shard
# Hash-tree-root of commitment data # Hash-tree-root of ShardBlobBody
body_root: Root body_root: Root
# Proposer of the shard-blob # Proposer of the shard-blob
proposer_index: ValidatorIndex proposer_index: ValidatorIndex

View File

@ -64,6 +64,7 @@ class ShardBlob(Container):
# Slot and shard that this blob is intended for # Slot and shard that this blob is intended for
slot: Slot slot: Slot
shard: Shard shard: Shard
# Shard data with related commitments and beacon anchor
body: ShardBlobBody body: ShardBlobBody
# Proposer of the shard-blob # Proposer of the shard-blob
proposer_index: ValidatorIndex proposer_index: ValidatorIndex