Skip to content

Commit

Permalink
cargo clippy, fmt, sort
Browse files Browse the repository at this point in the history
  • Loading branch information
0xKitsune committed Nov 8, 2023
1 parent bad679c commit 54a1d2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
5 changes: 2 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ axum-middleware = { path = "crates/axum-middleware" }
clap = { version = "4.4.7", features = ["derive"] }
common = { path = "crates/common" }
ethers = { version = "2.0.10", features = ["abigen", "ws", "ipc", "rustls", "openssl"] }
ethers-throttle = { path = "crates/ethers-throttle"}
ethers-throttle = { path = "crates/ethers-throttle" }
eyre = "0.6.8"
futures = "0.3.28"
governor = "0.6.0"
hex = "0.4.3"
hyper = { version = "^0.14.27", features = ["server", "tcp", "http1", "http2"] }
metrics = "0.21.1"
Expand All @@ -29,10 +30,8 @@ thiserror = "1.0.49"
tokio = { version = "1.32.0", features = ["sync", "macros"] }
toml = "0.8.8"
tracing = "0.1.37"
governor = "0.6.0"
url = "2.4.1"


[dev-dependencies]
reqwest = { version = "0.11.22", features = ["json"] }

Expand Down
5 changes: 1 addition & 4 deletions src/tree/block_scanner.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
use std::sync::atomic::{AtomicU64, Ordering};

use ethers::providers::Middleware;
use ethers::types::{
Address, BlockNumber, Filter, FilterBlockOption, Log, Topic, ValueOrArray,
H160,
};
use ethers::types::{BlockNumber, Filter, Log};

/// The `BlockScanner` utility tool enables allows parsing arbitrary onchain events
pub struct BlockScanner<M> {
Expand Down
3 changes: 1 addition & 2 deletions src/tree/tree_updater.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use std::sync::atomic::{AtomicU64, Ordering};
use std::sync::atomic::AtomicU64;
use std::sync::Arc;
use std::time::Duration;

use ethers::abi::AbiDecode;
use ethers::contract::{EthCall, EthEvent};
Expand Down

0 comments on commit 54a1d2a

Please sign in to comment.