File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -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) ) . expect ( "in tokio runtime" )
142+ WrapDatabaseAsync :: new ( self . rollup . alloy_db ( provider, BlockId :: latest ( ) ) ) . expect ( "in tokio runtime" )
143143 }
144144
145145 /// Create an [`AlloyDB`] for the host environment using the given provider.
@@ -148,7 +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- WrapDatabaseAsync :: new ( self . host . alloy_db ( provider) ) . expect ( "in tokio runtime" )
151+ WrapDatabaseAsync :: new ( self . host . alloy_db ( provider, BlockId :: number ( self . prev_host ( ) . number ) ) ) . expect ( "in tokio runtime" )
152152 }
153153
154154 /// Create a simulated rollup environment using the given provider,
You can’t perform that action at this time.
0 commit comments