From 8591ab5458930d033e3f983bed9c9f4564530737 Mon Sep 17 00:00:00 2001 From: Wolfgang Welz Date: Mon, 25 Mar 2024 21:16:29 +0100 Subject: [PATCH] fix warnings --- lib/src/host/preflight.rs | 2 +- testing/ef-tests/tests/executor.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/src/host/preflight.rs b/lib/src/host/preflight.rs index e6b5ffe3..7c6268d4 100644 --- a/lib/src/host/preflight.rs +++ b/lib/src/host/preflight.rs @@ -342,7 +342,7 @@ fn proofs_to_tries( for storage_proof in &fini_proofs.storage_proof { use ethers_core::abi::ethabi::ethereum_types::BigEndianHash; let storage_proof_key = ethers_core::types::H256::from_uint(&storage_proof.key); - add_orphaned_leafs(&storage_proof_key, &storage_proof.proof, &mut storage_nodes)?; + add_orphaned_leafs(storage_proof_key, &storage_proof.proof, &mut storage_nodes)?; } // create the storage trie, from all the relevant nodes let storage_trie = resolve_nodes(&storage_root_node, &storage_nodes); diff --git a/testing/ef-tests/tests/executor.rs b/testing/ef-tests/tests/executor.rs index 3cc34304..6e743c1b 100644 --- a/testing/ef-tests/tests/executor.rs +++ b/testing/ef-tests/tests/executor.rs @@ -16,9 +16,8 @@ use std::path::PathBuf; -use risc0_zkvm::{ExecutorEnv, ExecutorImpl, FileSegmentRef}; +use risc0_zkvm::{ExecutorEnv, ExecutorImpl}; use rstest::rstest; -use tempfile::tempdir; use zeth_lib::output::BlockBuildOutput; use zeth_primitives::block::Header; use zeth_testeth::{