mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +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,
|
snapshot,
|
||||||
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
||||||
finalized_checkpoint: fork_choice_view.finalized_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_payload_status: proto_array::PayloadStatus::Pending,
|
||||||
head_hash: forkchoice_update_params.head_hash,
|
head_hash: forkchoice_update_params.head_hash,
|
||||||
justified_hash: forkchoice_update_params.justified_hash,
|
justified_hash: forkchoice_update_params.justified_hash,
|
||||||
@@ -336,6 +337,7 @@ impl<T: BeaconChainTypes> CanonicalHead<T> {
|
|||||||
snapshot: Arc::new(snapshot),
|
snapshot: Arc::new(snapshot),
|
||||||
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
justified_checkpoint: fork_choice_view.justified_checkpoint,
|
||||||
finalized_checkpoint: fork_choice_view.finalized_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_payload_status: proto_array::PayloadStatus::Pending,
|
||||||
head_hash: forkchoice_update_params.head_hash,
|
head_hash: forkchoice_update_params.head_hash,
|
||||||
justified_hash: forkchoice_update_params.justified_hash,
|
justified_hash: forkchoice_update_params.justified_hash,
|
||||||
|
|||||||
Reference in New Issue
Block a user