This repository was archived by the owner on Nov 17, 2025. It is now read-only.
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 {
4747 // TODO: add other checks from test/unittests/test_helpers.cpp
4848 assert_eq ! ( size_of:: <evmc_bytes32>( ) , 32 ) ;
4949 assert_eq ! ( size_of:: <evmc_address>( ) , 20 ) ;
50- assert ! ( size_of:: <evmc_result>( ) <= 64 ) ;
50+ assert ! ( size_of:: <evmc_result>( ) <= 128 ) ;
5151 assert ! ( size_of:: <evmc_vm>( ) <= 64 ) ;
5252 }
5353}
Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ impl Into<ffi::evmc_result> for ExecutionResult {
447447 } else {
448448 Address { bytes : [ 0u8 ; 20 ] }
449449 } ,
450- padding : [ 0u8 ; 4 ] ,
450+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
451451 }
452452 }
453453}
@@ -532,7 +532,7 @@ mod tests {
532532 output_size : 4 ,
533533 release : Some ( test_result_dispose) ,
534534 create_address : Address { bytes : [ 0u8 ; 20 ] } ,
535- padding : [ 0u8 ; 4 ] ,
535+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
536536 } ;
537537
538538 let r: ExecutionResult = f. into ( ) ;
@@ -778,7 +778,7 @@ mod tests {
778778 output_size : msg. input_size ,
779779 release : None ,
780780 create_address : ffi:: evmc_address:: default ( ) ,
781- padding : [ 0u8 ; 4 ] ,
781+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
782782 }
783783 }
784784
You can’t perform that action at this time.
0 commit comments