From ea1e99b2f78426ae1c1edcdcb988317ab5f20b68 Mon Sep 17 00:00:00 2001 From: dapplion <35266934+dapplion@users.noreply.github.com> Date: Wed, 25 Mar 2026 23:09:11 -0500 Subject: [PATCH] Add TODO for head_payload_status initialization (re: #8998) --- beacon_node/beacon_chain/src/canonical_head.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/beacon_node/beacon_chain/src/canonical_head.rs b/beacon_node/beacon_chain/src/canonical_head.rs index d74f162ded..4f0a981730 100644 --- a/beacon_node/beacon_chain/src/canonical_head.rs +++ b/beacon_node/beacon_chain/src/canonical_head.rs @@ -275,6 +275,7 @@ impl CanonicalHead { 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 CanonicalHead { 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,