From d33b5e805aca015b9597858714b1feaaf225d775 Mon Sep 17 00:00:00 2001 From: Fraser Hutchison <190532+Fraser999@users.noreply.github.com> Date: Wed, 8 Apr 2026 18:28:43 +0100 Subject: [PATCH] fix empty instrumentation fields --- .gitignore | 2 ++ crates/host-rpc/src/notifier.rs | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8b08ddc6..03d035b2 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ Cargo.lock .idea/ docs/ +.claude/*.local.* +CLAUDE.local.md diff --git a/crates/host-rpc/src/notifier.rs b/crates/host-rpc/src/notifier.rs index a1929ffe..35348265 100644 --- a/crates/host-rpc/src/notifier.rs +++ b/crates/host-rpc/src/notifier.rs @@ -242,7 +242,7 @@ where /// Fetch a single block with receipts by number (used for backfill only). /// /// The block and receipt fetches are concurrent. - #[tracing::instrument(level = "debug", skip_all, fields(number))] + #[tracing::instrument(level = "debug", skip(self))] async fn fetch_block_by_number(&self, number: u64) -> Result { let start = Instant::now(); let tag = BlockNumberOrTag::Number(number); @@ -260,7 +260,7 @@ where /// /// Returns an empty `Vec` if `from > to`. Concurrency is bounded by /// [`Self::max_rpc_concurrency`]. - #[tracing::instrument(level = "debug", skip_all, fields(from, to))] + #[tracing::instrument(level = "debug", skip(self))] async fn fetch_range(&self, from: u64, to: u64) -> Result>, RpcHostError> { if from > to { return Ok(Vec::new());