This repository was archived by the owner on Nov 17, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
bindings/rust/evmc-vm/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -348,7 +348,7 @@ impl<'a> ExecutionContext<'a> {
348348 self . context as * mut ffi:: evmc_host_context ,
349349 & message as * const ffi:: evmc_message ,
350350 )
351- . into ( )
351+ . into ( )
352352 }
353353 }
354354
@@ -465,7 +465,7 @@ impl Into<ffi::evmc_result> for ExecutionResult {
465465 } else {
466466 Address { bytes : [ 0u8 ; 20 ] }
467467 } ,
468- padding : [ 0u8 ; 4 ] ,
468+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
469469 }
470470 }
471471}
@@ -550,7 +550,7 @@ mod tests {
550550 output_size : 4 ,
551551 release : Some ( test_result_dispose) ,
552552 create_address : Address { bytes : [ 0u8 ; 20 ] } ,
553- padding : [ 0u8 ; 4 ] ,
553+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
554554 } ;
555555
556556 let r: ExecutionResult = f. into ( ) ;
@@ -796,7 +796,7 @@ mod tests {
796796 output_size : msg. input_size ,
797797 release : None ,
798798 create_address : ffi:: evmc_address:: default ( ) ,
799- padding : [ 0u8 ; 4 ] ,
799+ scratchpad : ffi :: evmc_result_scratchpad { bytes : [ 0u8 ; 32 ] } ,
800800 }
801801 }
802802
You can’t perform that action at this time.
0 commit comments