File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ use init4_bin_base::{
12
12
} ;
13
13
use signet_sim:: { BlockBuild , BuiltBlock , SimCache } ;
14
14
use signet_types:: constants:: SignetSystemConstants ;
15
+ use tracing:: info;
15
16
use std:: time:: { Duration , Instant } ;
16
17
use tokio:: {
17
18
sync:: {
@@ -20,7 +21,6 @@ use tokio::{
20
21
} ,
21
22
task:: JoinHandle ,
22
23
} ;
23
- use tracing:: info;
24
24
use trevm:: revm:: {
25
25
context:: BlockEnv ,
26
26
database:: { AlloyDB , WrapDatabaseAsync } ,
@@ -48,7 +48,7 @@ pub struct SimResult {
48
48
/// The block built with the successfully simulated transactions
49
49
pub block : BuiltBlock ,
50
50
/// The block environment the transactions were simulated against.
51
- pub env : BlockEnv ,
51
+ pub env : SimEnv ,
52
52
}
53
53
54
54
impl Simulator {
@@ -189,7 +189,7 @@ impl Simulator {
189
189
{
190
190
Ok ( block) => {
191
191
debug ! ( block = ?block. block_number( ) , tx_count = block. transactions( ) . len( ) , "built simulated block" ) ;
192
- let _ = submit_sender. send ( SimResult { block, env : sim_env. block_env } ) ;
192
+ let _ = submit_sender. send ( SimResult { block, env : sim_env } ) ;
193
193
}
194
194
Err ( e) => {
195
195
error ! ( err = %e, "failed to build block" ) ;
You can’t perform that action at this time.
0 commit comments