@@ -66,7 +66,7 @@ impl ScriptRunner {
6666 . filter_map ( |code| {
6767 let DeployResult { traces, .. } = self
6868 . executor
69- . deploy ( h160_to_b160 ( self . sender ) , code. 0 . clone ( ) , rU256:: ZERO , None )
69+ . deploy ( h160_to_b160 ( self . sender ) , code. 0 . clone ( ) . into ( ) , rU256:: ZERO , None )
7070 . expect ( "couldn't deploy library" ) ;
7171
7272 traces
@@ -83,7 +83,7 @@ impl ScriptRunner {
8383 ..
8484 } = self
8585 . executor
86- . deploy ( CALLER , code. 0 , rU256:: ZERO , None )
86+ . deploy ( CALLER , code. 0 . into ( ) , rU256:: ZERO , None )
8787 . map_err ( |err| eyre:: eyre!( "Failed to deploy script:\n {}" , err) ) ?;
8888
8989 traces. extend ( constructor_traces. map ( |traces| ( TraceKind :: Deployment , traces) ) ) ;
@@ -217,7 +217,7 @@ impl ScriptRunner {
217217 } else if to. is_none ( ) {
218218 let ( address, gas_used, logs, traces, debug) = match self . executor . deploy (
219219 h160_to_b160 ( from) ,
220- calldata. expect ( "No data for create transaction" ) . 0 ,
220+ calldata. expect ( "No data for create transaction" ) . 0 . into ( ) ,
221221 u256_to_ru256 ( value. unwrap_or ( U256 :: zero ( ) ) ) ,
222222 None ,
223223 ) {
@@ -271,7 +271,7 @@ impl ScriptRunner {
271271 let mut res = self . executor . call_raw (
272272 h160_to_b160 ( from) ,
273273 h160_to_b160 ( to) ,
274- calldata. 0 . clone ( ) ,
274+ calldata. 0 . clone ( ) . into ( ) ,
275275 u256_to_ru256 ( value) ,
276276 ) ?;
277277 let mut gas_used = res. gas_used ;
@@ -286,7 +286,7 @@ impl ScriptRunner {
286286 res = self . executor . call_raw_committing (
287287 h160_to_b160 ( from) ,
288288 h160_to_b160 ( to) ,
289- calldata. 0 ,
289+ calldata. 0 . into ( ) ,
290290 u256_to_ru256 ( value) ,
291291 ) ?;
292292 }
@@ -305,7 +305,7 @@ impl ScriptRunner {
305305 let breakpoints = res. cheatcodes . map ( |cheats| cheats. breakpoints ) . unwrap_or_default ( ) ;
306306
307307 Ok ( ScriptResult {
308- returned : result,
308+ returned : result. 0 ,
309309 success : !reverted,
310310 gas_used,
311311 logs,
@@ -353,7 +353,7 @@ impl ScriptRunner {
353353 let res = self . executor . call_raw (
354354 h160_to_b160 ( from) ,
355355 h160_to_b160 ( to) ,
356- calldata. 0 . clone ( ) ,
356+ calldata. 0 . clone ( ) . into ( ) ,
357357 u256_to_ru256 ( value) ,
358358 ) ?;
359359 match res. exit_reason {
0 commit comments