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::{