Skip to content

Commit 4af2855

Browse files
committed
Instrument PendingComponents set parent to None to avoid incorrectly impacting component processing traces
1 parent b358a1a commit 4af2855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/beacon_chain/src/data_availability_checker/overflow_lru_cache.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ impl<E: EthSpec> PendingComponents<E> {
289289

290290
/// Returns an empty `PendingComponents` object with the given block root.
291291
pub fn empty(block_root: Hash256, max_len: usize) -> Self {
292-
let span = debug_span!("pending_components", %block_root);
292+
let span = debug_span!(parent: None, "pending_components", %block_root);
293293
let _guard = span.clone().entered();
294294
Self {
295295
block_root,

0 commit comments

Comments
 (0)