From 13915ddf4595525099b472d8281c03a32d60810c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Sat, 28 Sep 2019 12:26:49 +0200 Subject: [PATCH] Update rust --- bindings/rust/evmc-vm/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/rust/evmc-vm/src/lib.rs b/bindings/rust/evmc-vm/src/lib.rs index a13c06700..b062be47a 100644 --- a/bindings/rust/evmc-vm/src/lib.rs +++ b/bindings/rust/evmc-vm/src/lib.rs @@ -465,7 +465,7 @@ impl Into for ExecutionResult { } else { Address { bytes: [0u8; 20] } }, - padding: [0u8; 4], + scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] }, } } } @@ -550,7 +550,7 @@ mod tests { output_size: 4, release: Some(test_result_dispose), create_address: Address { bytes: [0u8; 20] }, - padding: [0u8; 4], + scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] }, }; let r: ExecutionResult = f.into(); @@ -796,7 +796,7 @@ mod tests { output_size: msg.input_size, release: None, create_address: ffi::evmc_address::default(), - padding: [0u8; 4], + scratchpad: ffi::evmc_result_scratchpad { bytes: [0u8; 32] }, } }