chore: fix spans (#21830)

This commit is contained in:
Arsenii Kulikov
2026-02-05 03:10:49 +04:00
committed by GitHub
parent 97588a07a4
commit 608b840001

View File

@@ -501,7 +501,6 @@ where
/// Spawns the [`SparseTrieTask`] for this payload processor.
///
/// The trie is preserved when the new payload is a child of the previous one.
#[instrument(level = "debug", target = "engine::tree::payload_processor", skip_all)]
fn spawn_sparse_trie_task(
&self,
sparse_trie_rx: mpsc::Receiver<SparseTrieUpdate>,
@@ -519,8 +518,9 @@ where
let chunk_size =
config.multiproof_chunking_enabled().then_some(config.multiproof_chunk_size());
let parent_span = Span::current();
self.executor.spawn_blocking(move || {
let _enter = debug_span!(target: "engine::tree::payload_processor", "sparse_trie_task")
let _enter = debug_span!(target: "engine::tree::payload_processor", parent: parent_span, "sparse_trie_task")
.entered();
// Reuse a stored SparseStateTrie if available, applying continuation logic.