From 82baf27402049858d69ab842c27e6374511023a6 Mon Sep 17 00:00:00 2001 From: Tommy Volk Date: Wed, 23 Oct 2024 15:23:45 +0100 Subject: [PATCH] chore: remove bitcoin dep from fedimint-load-test-tool --- Cargo.lock | 2 +- fedimint-load-test-tool/Cargo.toml | 2 +- fedimint-load-test-tool/src/common.rs | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c1733845625..b111aa139ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2775,7 +2775,6 @@ name = "fedimint-load-test-tool" version = "0.5.0-alpha" dependencies = [ "anyhow", - "bitcoin 0.30.2", "clap", "devimint", "fedimint-api-client", @@ -2792,6 +2791,7 @@ dependencies = [ "jsonrpsee-ws-client", "lightning-invoice 0.31.0", "rand", + "secp256k1 0.27.0", "serde", "serde_json", "tokio", diff --git a/fedimint-load-test-tool/Cargo.toml b/fedimint-load-test-tool/Cargo.toml index f1b967b8061..d15a7d0b8b6 100644 --- a/fedimint-load-test-tool/Cargo.toml +++ b/fedimint-load-test-tool/Cargo.toml @@ -13,7 +13,6 @@ path = "src/main.rs" [dependencies] anyhow = { workspace = true } -bitcoin30 = { workspace = true } clap = { workspace = true } devimint = { workspace = true } fedimint-api-client = { workspace = true } @@ -29,6 +28,7 @@ futures = { workspace = true } jsonrpsee-core = { version = "0.24.7", features = ["client"] } lightning-invoice = { workspace = true } rand = { workspace = true } +secp256k1 = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } tokio = { workspace = true, features = ["full", "tracing"] } diff --git a/fedimint-load-test-tool/src/common.rs b/fedimint-load-test-tool/src/common.rs index 0fb5815e392..66c1fd606da 100644 --- a/fedimint-load-test-tool/src/common.rs +++ b/fedimint-load-test-tool/src/common.rs @@ -4,7 +4,6 @@ use std::sync::Arc; use std::time::Duration; use anyhow::{anyhow, bail, Context, Result}; -use bitcoin30::secp256k1; use devimint::cmd; use devimint::util::{ClnLightningCli, FedimintCli, LnCli}; use fedimint_client::secret::{PlainRootSecretStrategy, RootSecretStrategy};