Update v-guide: Shard head root
This commit is contained in:
parent
c981fc4411
commit
cd8bb3d85a
|
@ -31,7 +31,7 @@
|
||||||
- [`FullAttestation`](#fullattestation)
|
- [`FullAttestation`](#fullattestation)
|
||||||
- [Timing](#timing)
|
- [Timing](#timing)
|
||||||
- [Attestation data](#attestation-data)
|
- [Attestation data](#attestation-data)
|
||||||
- [Head shard root](#head-shard-root)
|
- [Shard head root](#shard-head-root)
|
||||||
- [Shard transition](#shard-transition)
|
- [Shard transition](#shard-transition)
|
||||||
- [Construct attestation](#construct-attestation)
|
- [Construct attestation](#construct-attestation)
|
||||||
- [Attestation Aggregation](#attestation-aggregation)
|
- [Attestation Aggregation](#attestation-aggregation)
|
||||||
|
@ -267,9 +267,9 @@ A validator should create and broadcast the `attestation` to the associated atte
|
||||||
|
|
||||||
*Note*: We assume that the fork choice only follows branches with valid `offset_slots` with respect to the most recent beacon state shard transition for the queried shard.
|
*Note*: We assume that the fork choice only follows branches with valid `offset_slots` with respect to the most recent beacon state shard transition for the queried shard.
|
||||||
|
|
||||||
##### Head shard root
|
##### Shard head root
|
||||||
|
|
||||||
Set `attestation_data.shard_head_root = hash_tree_root(shard_head_block)`.
|
If `attestation_data.slot == GENESIS_SLOT`, set `attestation_data.shard_head_root = Root()`. Otherwise, set `attestation_data.shard_head_root = hash_tree_root(shard_head_block)`.
|
||||||
|
|
||||||
##### Shard transition
|
##### Shard transition
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue