File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ mod tests {
47
47
// TODO: add other checks from test/unittests/test_helpers.cpp
48
48
assert_eq ! ( size_of:: <evmc_bytes32>( ) , 32 ) ;
49
49
assert_eq ! ( size_of:: <evmc_address>( ) , 20 ) ;
50
- assert ! ( size_of:: <evmc_result>( ) <= 64 ) ;
50
+ assert ! ( size_of:: <evmc_result>( ) <= 128 ) ;
51
51
assert ! ( size_of:: <evmc_vm>( ) <= 64 ) ;
52
52
}
53
53
}
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ impl Into<ffi::evmc_result> for ExecutionResult {
447
447
} else {
448
448
Address { bytes : [ 0u8 ; 20 ] }
449
449
} ,
450
- padding : [ 0u8 ; 4 ] ,
450
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
451
451
}
452
452
}
453
453
}
@@ -532,7 +532,7 @@ mod tests {
532
532
output_size : 4 ,
533
533
release : Some ( test_result_dispose) ,
534
534
create_address : Address { bytes : [ 0u8 ; 20 ] } ,
535
- padding : [ 0u8 ; 4 ] ,
535
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
536
536
} ;
537
537
538
538
let r: ExecutionResult = f. into ( ) ;
@@ -778,7 +778,7 @@ mod tests {
778
778
output_size : msg. input_size ,
779
779
release : None ,
780
780
create_address : ffi:: evmc_address:: default ( ) ,
781
- padding : [ 0u8 ; 4 ] ,
781
+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
782
782
}
783
783
}
784
784
You can’t perform that action at this time.
0 commit comments