File tree 1 file changed +3
-3
lines changed
bindings/rust/evmc-vm/src
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ impl Into<ffi::evmc_result> for ExecutionResult {
465
465
} else {
466
466
Address { bytes : [ 0u8 ; 20 ] }
467
467
} ,
468
- padding : [ 0u8 ; 4 ] ,
468
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
469
469
}
470
470
}
471
471
}
@@ -550,7 +550,7 @@ mod tests {
550
550
output_size : 4 ,
551
551
release : Some ( test_result_dispose) ,
552
552
create_address : Address { bytes : [ 0u8 ; 20 ] } ,
553
- padding : [ 0u8 ; 4 ] ,
553
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
554
554
} ;
555
555
556
556
let r: ExecutionResult = f. into ( ) ;
@@ -796,7 +796,7 @@ mod tests {
796
796
output_size : msg. input_size ,
797
797
release : None ,
798
798
create_address : ffi:: evmc_address:: default ( ) ,
799
- padding : [ 0u8 ; 4 ] ,
799
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
800
800
}
801
801
}
802
802
You can’t perform that action at this time.
0 commit comments