Skip to content

Commit f2d9184

Browse files
committed
put back
1 parent 70c01c9 commit f2d9184

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/tasks/env.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use signet_constants::SignetSystemConstants;
1414
use signet_sim::{HostEnv, RollupEnv};
1515
use tokio::{sync::watch, task::JoinHandle};
1616
use tokio_stream::StreamExt;
17-
use tracing::{Instrument, Span, info_span};
17+
use tracing::{Instrument, Span, debug, info_span};
1818
use trevm::revm::{
1919
context::BlockEnv,
2020
context_interface::block::BlobExcessGasAndPrice,
@@ -64,6 +64,7 @@ impl Environment {
6464

6565
/// Create a new [`AlloyDB`] for this environment using the given provider.
6666
pub fn alloy_db<N: Network, P: Provider<N>>(&self, provider: P) -> AlloyDB<N, P> {
67+
debug!(?self.prev_header.number, "Creating AlloyDB for block number");
6768
AlloyDB::new(provider, self.prev_header.number.into())
6869
}
6970
}
@@ -139,7 +140,7 @@ impl SimEnv {
139140
///
140141
/// This function will panic if not called within a Tokio runtime.
141142
pub fn rollup_db(&self, provider: RuProvider) -> RollupAlloyDatabaseProvider {
142-
WrapDatabaseAsync::new(self.rollup.alloy_db(providerber)xpect("in tokio runtime")
143+
WrapDatabaseAsync::new(self.rollup.alloy_db(provider)).expect("in tokio runtime")
143144
}
144145

145146
/// Create an [`AlloyDB`] for the host environment using the given provider.

0 commit comments

Comments
 (0)