From cf2ed30c1b906b30c4243b11aae9f11f4435648f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Mon, 26 Jun 2023 12:47:39 +0200 Subject: [PATCH] fix rust --- bindings/rust/evmc-vm/src/container.rs | 2 ++ bindings/rust/evmc-vm/src/lib.rs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/bindings/rust/evmc-vm/src/container.rs b/bindings/rust/evmc-vm/src/container.rs index eebdf66c0..a41e47b21 100644 --- a/bindings/rust/evmc-vm/src/container.rs +++ b/bindings/rust/evmc-vm/src/container.rs @@ -102,6 +102,8 @@ mod tests { block_prev_randao: Uint256::default(), chain_id: Uint256::default(), block_base_fee: Uint256::default(), + blob_hashes: std::ptr::null(), + blob_hashes_count: 0, } } diff --git a/bindings/rust/evmc-vm/src/lib.rs b/bindings/rust/evmc-vm/src/lib.rs index 6285c1482..0e543afec 100644 --- a/bindings/rust/evmc-vm/src/lib.rs +++ b/bindings/rust/evmc-vm/src/lib.rs @@ -806,6 +806,8 @@ mod tests { block_prev_randao: Uint256 { bytes: [0xaa; 32] }, chain_id: Uint256::default(), block_base_fee: Uint256::default(), + blob_hashes: std::ptr::null(), + blob_hashes_count: 0, } }