mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-14 02:51:06 +00:00
Remove unneeded use of two HashMaps
This commit is contained in:
@@ -111,8 +111,6 @@ pub struct FilesWithExtensionIterator {
|
|||||||
/// The set of files matching the allowed extensions that were found. If there are entries in
|
/// 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
|
/// 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.
|
/// then we visit one of the next directories to visit.
|
||||||
///
|
|
||||||
/// [`Iterator`]: std::iter::Iterator
|
|
||||||
files_matching_allowed_extensions: Vec<PathBuf>,
|
files_matching_allowed_extensions: Vec<PathBuf>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ use alloy::network::TransactionBuilder;
|
|||||||
use alloy::rpc::types::TransactionReceipt;
|
use alloy::rpc::types::TransactionReceipt;
|
||||||
use alloy::rpc::types::trace::geth::GethTrace;
|
use alloy::rpc::types::trace::geth::GethTrace;
|
||||||
use alloy::{
|
use alloy::{
|
||||||
primitives::{Address, map::HashMap},
|
primitives::Address,
|
||||||
rpc::types::{
|
rpc::types::{
|
||||||
TransactionRequest,
|
TransactionRequest,
|
||||||
trace::geth::{AccountState, DiffMode},
|
trace::geth::{AccountState, DiffMode},
|
||||||
@@ -18,7 +18,7 @@ use revive_dt_node_interaction::EthereumNode;
|
|||||||
use revive_dt_report::reporter::{CompilationTask, Report, Span};
|
use revive_dt_report::reporter::{CompilationTask, Report, Span};
|
||||||
use revive_solc_json_interface::SolcStandardJsonOutput;
|
use revive_solc_json_interface::SolcStandardJsonOutput;
|
||||||
use serde_json::Value;
|
use serde_json::Value;
|
||||||
use std::collections::HashMap as StdHashMap;
|
use std::collections::HashMap;
|
||||||
use tracing::Level;
|
use tracing::Level;
|
||||||
|
|
||||||
use crate::Platform;
|
use crate::Platform;
|
||||||
@@ -33,8 +33,8 @@ pub struct State<'a, T: Platform> {
|
|||||||
config: &'a Arguments,
|
config: &'a Arguments,
|
||||||
span: Span,
|
span: Span,
|
||||||
contracts: Contracts<T>,
|
contracts: Contracts<T>,
|
||||||
deployed_contracts: StdHashMap<String, Address>,
|
deployed_contracts: HashMap<String, Address>,
|
||||||
deployed_abis: StdHashMap<String, JsonAbi>,
|
deployed_abis: HashMap<String, JsonAbi>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a, T> State<'a, T>
|
impl<'a, T> State<'a, T>
|
||||||
|
|||||||
Reference in New Issue
Block a user