Skip to content

Commit 68bb317

Browse files
committed
Revive block root logging to fetch blobs function.
1 parent e47032e commit 68bb317

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

beacon_node/beacon_chain/src/fetch_blobs.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use ssz_types::FixedVector;
2222
use state_processing::per_block_processing::deneb::kzg_commitment_to_versioned_hash;
2323
use std::collections::HashSet;
2424
use std::sync::Arc;
25-
use tracing::debug;
25+
use tracing::{debug, instrument};
2626
use types::blob_sidecar::{BlobSidecarError, FixedBlobSidecarList};
2727
use types::data_column_sidecar::DataColumnSidecarError;
2828
use types::{
@@ -56,6 +56,15 @@ pub enum FetchEngineBlobError {
5656

5757
/// Fetches blobs from the EL mempool and processes them. It also broadcasts unseen blobs or
5858
/// data columns (PeerDAS onwards) to the network, using the supplied `publish_fn`.
59+
#[instrument(
60+
level = "info",
61+
name = "fetch_engine_blobs",
62+
fields(
63+
service = "fetch_engine_blobs",
64+
block_root = ?block_root
65+
),
66+
skip_all
67+
)]
5968
pub async fn fetch_and_process_engine_blobs<T: BeaconChainTypes>(
6069
chain: Arc<BeaconChain<T>>,
6170
block_root: Hash256,

0 commit comments

Comments
 (0)