fix `LightClientUpdate` documentation

Some `LightClientUpdate` documentation of the spec is meant to span
multiple fields but was attached to a single, incorrect field in Nimbus.
This patch moves affected documentation to correct locations.
This commit is contained in:
Etan Kissling 2021-11-29 12:04:45 +01:00 committed by zah
parent eb777a6c8b
commit bdf2d3cc27
1 changed files with 6 additions and 8 deletions

View File

@ -161,18 +161,16 @@ type
header*: BeaconBlockHeader ##\
## Update beacon block header
next_sync_committee*: SyncCommittee ##\
## Next sync committee corresponding to the header
next_sync_committee_branch*: array[log2trunc(NEXT_SYNC_COMMITTEE_INDEX), Eth2Digest] ##\
## Finality proof for the update header
# Next sync committee corresponding to the header
next_sync_committee*: SyncCommittee
next_sync_committee_branch*: array[log2trunc(NEXT_SYNC_COMMITTEE_INDEX), Eth2Digest]
# Finality proof for the update header
finality_header*: BeaconBlockHeader
finality_branch*: array[log2trunc(FINALIZED_ROOT_INDEX), Eth2Digest]
sync_committee_bits*: BitArray[SYNC_COMMITTEE_SIZE] ##\
## Sync committee aggregate signature
# Sync committee aggregate signature
sync_committee_bits*: BitArray[SYNC_COMMITTEE_SIZE]
sync_committee_signature*: ValidatorSig
fork_version*: Version ##\