From 32680eedf92174d0fec577abd95a06146484b538 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Fri, 29 Sep 2023 22:11:31 +0200 Subject: [PATCH] chore(deps): rm hashbrown dep --- Cargo.lock | 1 - crates/revm/revm-inspectors/Cargo.toml | 2 -- crates/revm/revm-inspectors/src/access_list.rs | 3 +-- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e761c3779079..411eaf14c4b5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6121,7 +6121,6 @@ dependencies = [ "alloy-sol-types", "boa_engine", "boa_gc", - "hashbrown 0.14.0", "reth-primitives", "reth-rpc-types", "revm", diff --git a/crates/revm/revm-inspectors/Cargo.toml b/crates/revm/revm-inspectors/Cargo.toml index 4afeb0107201..1edcd0d34e82 100644 --- a/crates/revm/revm-inspectors/Cargo.toml +++ b/crates/revm/revm-inspectors/Cargo.toml @@ -17,8 +17,6 @@ reth-rpc-types.workspace = true alloy-sol-types.workspace = true revm.workspace = true -# remove from reth and reexport from revm -hashbrown = "0.14" serde = { workspace = true, features = ["derive"] } thiserror = { workspace = true, optional = true } diff --git a/crates/revm/revm-inspectors/src/access_list.rs b/crates/revm/revm-inspectors/src/access_list.rs index 5c929f4869ce..738870317432 100644 --- a/crates/revm/revm-inspectors/src/access_list.rs +++ b/crates/revm/revm-inspectors/src/access_list.rs @@ -1,10 +1,9 @@ -use hashbrown::{HashMap, HashSet}; use reth_primitives::{AccessList, AccessListItem, Address, B256}; use revm::{ interpreter::{opcode, InstructionResult, Interpreter}, Database, EVMData, Inspector, }; -use std::collections::BTreeSet; +use std::collections::{BTreeSet, HashMap, HashSet}; /// An [Inspector] that collects touched accounts and storage slots. ///