Skip to content

Commit

Permalink
Refactor(aggregator): remove useless dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Asseman <[email protected]>
  • Loading branch information
aasseman committed May 1, 2023
1 parent 393eea1 commit fa72dbd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions tap_aggregator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,8 @@ path = "src/main.rs"
anyhow = "1.0.70"
tokio = { version = "1.27.0", features = ["macros", "signal"] }
tap_core = { path = "../tap_core" }
ethereum-types = "0.14.1"
jsonrpsee = { version = "0.18.0", features = ["server", "macros"] }
k256 = { version = "0.13.1", features = ["ecdsa", "serde"] }
ethers-signers = "2.0.3"
coins-bip39 = { version = "0.8.6", default-features = false, features = ["english"] }
clap = { version = "4.2.4", features = ["derive", "env"] }
ethers-core = "2.0.3"

Expand Down
2 changes: 1 addition & 1 deletion tap_aggregator/src/aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ fn check_receipt_timestamps(
#[cfg(test)]
mod tests {
use crate::aggregator;
use coins_bip39::English;
use ethers_core::types::Address;
use ethers_signers::coins_bip39::English;
use ethers_signers::LocalWallet;
use ethers_signers::MnemonicBuilder;
use ethers_signers::Signer;
Expand Down
2 changes: 1 addition & 1 deletion tap_aggregator/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use anyhow::Result;
use clap::Parser;
use coins_bip39::English;
use ethers_signers::coins_bip39::English;
use ethers_signers::MnemonicBuilder;
use tokio::signal::unix::{signal, SignalKind};

Expand Down
4 changes: 2 additions & 2 deletions tap_aggregator/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ pub async fn run_server(
#[cfg(test)]
mod tests {
use crate::server;
use coins_bip39::English;
use ethereum_types::Address;
use ethers_core::types::Address;
use ethers_signers::coins_bip39::English;
use ethers_signers::LocalWallet;
use ethers_signers::MnemonicBuilder;
use ethers_signers::Signer;
Expand Down

0 comments on commit fa72dbd

Please sign in to comment.