From ffc5e47ad1344c7280eb61df732fa6f106a398e8 Mon Sep 17 00:00:00 2001 From: Pawan Dhananjay Date: Tue, 9 Jun 2026 17:57:00 -0700 Subject: [PATCH] Wait until block is processed before sending columns for processing --- .../network/src/sync/block_lookups/single_block_lookup.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beacon_node/network/src/sync/block_lookups/single_block_lookup.rs b/beacon_node/network/src/sync/block_lookups/single_block_lookup.rs index 4edaffd228..f03eed1638 100644 --- a/beacon_node/network/src/sync/block_lookups/single_block_lookup.rs +++ b/beacon_node/network/src/sync/block_lookups/single_block_lookup.rs @@ -412,9 +412,10 @@ impl SingleBlockLookup { state.maybe_start_downloading(|| { cx.custody_lookup_request(self.id, self.block_root, *slot, peers.clone()) })?; - // Wait for the parent to be imported, data column processing result handle does + // Wait for the current block and parent to be imported, data column processing result handle does // not support `ParentUnknown`. - if self.awaiting_parent.is_none() + if self.block_request.state.is_processed() + && self.awaiting_parent.is_none() && let Some(data) = state.maybe_start_processing() { cx.send_custody_columns_for_processing(