Skip to content

Commit 6af4fb4

Browse files
committed
chore: downgrade some traces
1 parent a780b94 commit 6af4fb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/sim/src/env/shared.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use crate::{env::RollupEnv, outcome::SimulatedItem, HostEnv, SimCache, SimDb, Si
22
use core::fmt;
33
use std::{ops::Deref, sync::Arc};
44
use tokio::{select, sync::watch};
5-
use tracing::{debug, info_span, trace};
5+
use tracing::{debug, trace, trace_span};
66
use trevm::{
77
helpers::Ctx,
88
revm::{inspector::NoOpInspector, DatabaseRef, Inspector},
@@ -90,7 +90,7 @@ where
9090

9191
/// Run a simulation round, returning the best item.
9292
pub async fn sim_round(&mut self, max_gas: u64, max_host_gas: u64) -> Option<SimulatedItem> {
93-
let span = info_span!("sim_round", max_gas, max_host_gas);
93+
let span = trace_span!("sim_round", max_gas, max_host_gas).or_current();
9494

9595
// These will be moved into the blocking task.
9696
let scope_span = span.clone();

crates/sim/src/env/sim_env.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ where
266266
// Create a channel to send the results back.
267267
let (candidates, mut candidates_rx) = mpsc::channel(self.concurrency_limit);
268268

269-
let outer = trace_span!("sim_thread", candidates = active_sim.len());
269+
let outer = trace_span!("sim_thread", candidates = active_sim.len()).or_current();
270270
let outer_ref = &outer;
271271
let _og = outer.enter();
272272

0 commit comments

Comments
 (0)