Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
fmt && clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
lightsing committed Mar 26, 2024
1 parent 1a647b0 commit 44145b7
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion external-tracer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use eth_types::{
Address, Error, GethExecTrace, Word,
};
use serde::Serialize;
use std::collections::{BTreeMap, HashMap};
use std::collections::BTreeMap;

/// Configuration structure for `geth_utils::trace`
#[derive(Debug, Default, Clone, Serialize)]
Expand Down
6 changes: 1 addition & 5 deletions testool/src/statetest/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ use bus_mapping::{
mock::BlockData,
};
use eth_types::{geth_types, Address, Bytes, Error, GethExecTrace, U256, U64};
use ethers_core::{
k256::ecdsa::SigningKey,
types::{transaction::eip2718::TypedTransaction, TransactionRequest, Withdrawal},
utils::keccak256,
};
use ethers_core::{k256::ecdsa::SigningKey, types::Withdrawal, utils::keccak256};
use ethers_signers::{LocalWallet, Signer};
use external_tracer::TraceConfig;
use halo2_proofs::{dev::MockProver, halo2curves::bn256::Fr};
Expand Down
2 changes: 0 additions & 2 deletions testool/src/statetest/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use ethers_core::{k256::ecdsa::SigningKey, utils::secret_key_to_address};
use serde::Deserialize;
use std::collections::{BTreeMap, HashMap};

use serde_json::value::Value;

fn default_block_base_fee() -> String {
DEFAULT_BASE_FEE.to_string()
}
Expand Down
2 changes: 0 additions & 2 deletions testool/src/statetest/yaml.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ use std::{
};
use yaml_rust::Yaml;

type Label = String;

#[derive(Debug, Clone)]
enum Ref {
Any,
Expand Down

0 comments on commit 44145b7

Please sign in to comment.