Remove unneeded use of two HashMaps

This commit is contained in:
Omar Abdulla
2025-07-17 14:41:48 +03:00
parent ca6c5529e2
commit 38e6140a7c
2 changed files with 4 additions and 6 deletions
-2
View File
@@ -111,8 +111,6 @@ pub struct FilesWithExtensionIterator {
/// The set of files matching the allowed extensions that were found. If there are entries in
/// this vector then they will be returned when the [`Iterator::next`] method is called. If not
/// then we visit one of the next directories to visit.
///
/// [`Iterator`]: std::iter::Iterator
files_matching_allowed_extensions: Vec<PathBuf>,
}
+4 -4
View File
@@ -5,7 +5,7 @@ use alloy::network::TransactionBuilder;
use alloy::rpc::types::TransactionReceipt;
use alloy::rpc::types::trace::geth::GethTrace;
use alloy::{
primitives::{Address, map::HashMap},
primitives::Address,
rpc::types::{
TransactionRequest,
trace::geth::{AccountState, DiffMode},
@@ -18,7 +18,7 @@ use revive_dt_node_interaction::EthereumNode;
use revive_dt_report::reporter::{CompilationTask, Report, Span};
use revive_solc_json_interface::SolcStandardJsonOutput;
use serde_json::Value;
use std::collections::HashMap as StdHashMap;
use std::collections::HashMap;
use tracing::Level;
use crate::Platform;
@@ -33,8 +33,8 @@ pub struct State<'a, T: Platform> {
config: &'a Arguments,
span: Span,
contracts: Contracts<T>,
deployed_contracts: StdHashMap<String, Address>,
deployed_abis: StdHashMap<String, JsonAbi>,
deployed_contracts: HashMap<String, Address>,
deployed_abis: HashMap<String, JsonAbi>,
}
impl<'a, T> State<'a, T>