File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -139,8 +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- debug ! ( block_number = ?BlockId :: latest( ) , "creating alloy DB for rollup" ) ;
143- WrapDatabaseAsync :: new ( self . rollup . alloy_db ( provider, BlockId :: latest ( ) ) ) . expect ( "in tokio runtime" )
142+ WrapDatabaseAsync :: new ( self . rollup . alloy_db ( provider, BlockId :: pending ( ) ) ) . expect ( "in tokio runtime" )
144143 }
145144
146145 /// Create an [`AlloyDB`] for the host environment using the given provider.
@@ -149,8 +148,8 @@ impl SimEnv {
149148 ///
150149 /// This function will panic if not called within a Tokio runtime.
151150 pub fn host_db ( & self , provider : HostProvider ) -> HostAlloyDatabaseProvider {
152- debug ! ( block_number = ?BlockId :: number ( self . prev_host ( ) . number ) , "creating alloy DB for host" ) ;
153- WrapDatabaseAsync :: new ( self . host . alloy_db ( provider, BlockId :: number ( self . prev_host ( ) . number ) ) ) . expect ( "in tokio runtime" )
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" )
154153 }
155154
156155 /// Create a simulated rollup environment using the given provider,
You can’t perform that action at this time.
0 commit comments