File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ pub mod error;
2020pub use error:: * ;
2121pub mod tx;
2222pub use tx:: * ;
23- pub mod precompiles;
2423#[ cfg( feature = "overrides" ) ]
2524pub mod overrides;
25+ pub mod precompiles;
2626pub mod tracing;
2727
2828mod either;
Original file line number Diff line number Diff line change 8989 env. difficulty = difficulty;
9090 }
9191 if let Some ( time) = time {
92- env. timestamp = time;
92+ env. timestamp = U256 :: from ( time) ;
9393 }
9494 if let Some ( gas_limit) = gas_limit {
9595 env. gas_limit = gas_limit;
@@ -143,8 +143,12 @@ where
143143 }
144144
145145 // Create a new account marked as touched
146- let mut acc =
147- revm:: state:: Account { info, status : AccountStatus :: Touched , storage : Default :: default ( ) } ;
146+ let mut acc = revm:: state:: Account {
147+ info,
148+ status : AccountStatus :: Touched ,
149+ storage : Default :: default ( ) ,
150+ transaction_id : 0 ,
151+ } ;
148152
149153 let storage_diff = match ( account_override. state , account_override. state_diff ) {
150154 ( Some ( _) , Some ( _) ) => return Err ( StateOverrideError :: BothStateAndStateDiff ( account) ) ,
@@ -177,6 +181,7 @@ where
177181 original_value : ( !value) . into ( ) ,
178182 present_value : value. into ( ) ,
179183 is_cold : false ,
184+ transaction_id : 0 ,
180185 } ,
181186 ) ;
182187 }
You can’t perform that action at this time.
0 commit comments