Skip to content

Commit d90d798

Browse files
committed
put alloydb back to prev header
1 parent 4fdabdc commit d90d798

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tasks/env.rs

Lines changed: 3 additions & 4 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, debug, info_span};
17+
use tracing::{Instrument, Span, info_span};
1818
use trevm::revm::{
1919
context::BlockEnv,
2020
context_interface::block::BlobExcessGasAndPrice,
@@ -139,7 +139,7 @@ impl SimEnv {
139139
///
140140
/// This function will panic if not called within a Tokio runtime.
141141
pub fn rollup_db(&self, provider: RuProvider) -> RollupAlloyDatabaseProvider {
142-
WrapDatabaseAsync::new(self.rollup.alloy_db(provider, BlockId::pending())).expect("in tokio runtime")
142+
WrapDatabaseAsync::new(self.rollup.alloy_db(providerber)xpect("in tokio runtime")
143143
}
144144

145145
/// Create an [`AlloyDB`] for the host environment using the given provider.
@@ -148,8 +148,7 @@ impl SimEnv {
148148
///
149149
/// This function will panic if not called within a Tokio runtime.
150150
pub fn host_db(&self, provider: HostProvider) -> HostAlloyDatabaseProvider {
151-
debug!(block_number = ?BlockId::pending(), "creating alloy DB for host");
152-
WrapDatabaseAsync::new(self.host.alloy_db(provider, BlockId::pending())).expect("in tokio runtime")
151+
WrapDatabaseAsync::new(self.host.alloy_db(provider)).expect("in tokio runtime")
153152
}
154153

155154
/// Create a simulated rollup environment using the given provider,

0 commit comments

Comments
 (0)