mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 22:38:34 +00:00
Add TODO for head_payload_status initialization (re: #8998)
This commit is contained in:
@@ -275,6 +275,7 @@ impl<T: BeaconChainTypes> CanonicalHead<T> {
|
||||
snapshot,
|
||||
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
||||
finalized_checkpoint: fork_choice_view.finalized_checkpoint,
|
||||
// TODO(gloas): compute from snapshot state once #8998 lands.
|
||||
head_payload_status: proto_array::PayloadStatus::Pending,
|
||||
head_hash: forkchoice_update_params.head_hash,
|
||||
justified_hash: forkchoice_update_params.justified_hash,
|
||||
@@ -336,6 +337,7 @@ impl<T: BeaconChainTypes> CanonicalHead<T> {
|
||||
snapshot: Arc::new(snapshot),
|
||||
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
||||
finalized_checkpoint: fork_choice_view.finalized_checkpoint,
|
||||
// TODO(gloas): compute from snapshot state once #8998 lands.
|
||||
head_payload_status: proto_array::PayloadStatus::Pending,
|
||||
head_hash: forkchoice_update_params.head_hash,
|
||||
justified_hash: forkchoice_update_params.justified_hash,
|
||||
|
||||
Reference in New Issue
Block a user