From 6c43b46a9d5f06bfbc7ecef306fe269c4843791e Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Wed, 8 Oct 2025 15:03:51 +1100 Subject: [PATCH 1/4] fix(ci): update `webpki-roots` pinned version --- ci/pin-msrv.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/pin-msrv.sh b/ci/pin-msrv.sh index 17253eed1..421a68372 100755 --- a/ci/pin-msrv.sh +++ b/ci/pin-msrv.sh @@ -28,7 +28,7 @@ cargo update -p once_cell --precise "1.20.3" cargo update -p base64ct --precise "1.6.0" cargo update -p minreq --precise "2.13.2" cargo update -p tracing-core --precise "0.1.33" -cargo update -p webpki-roots@1.0.2 --precise "1.0.1" +cargo update -p webpki-roots@1.0.3 --precise "1.0.1" cargo update -p rayon --precise "1.10.0" cargo update -p rayon-core --precise "1.12.1" cargo update -p socket2@0.6.0 --precise "0.5.10" From 08e189fe22029efad7c5453826c7ca7da0f8eb2a Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Tue, 23 Sep 2025 10:15:15 +1000 Subject: [PATCH 2/4] fix(example_cli): clippy warnings --- examples/example_cli/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/example_cli/src/lib.rs b/examples/example_cli/src/lib.rs index db5f31d0f..07811c45a 100644 --- a/examples/example_cli/src/lib.rs +++ b/examples/example_cli/src/lib.rs @@ -229,7 +229,7 @@ impl FromStr for CoinSelectionAlgo { "oldest-first" => OldestFirst, "newest-first" => NewestFirst, "bnb" => BranchAndBound, - unknown => bail!("unknown coin selection algorithm '{}'", unknown), + unknown => bail!("unknown coin selection algorithm '{unknown}'"), }) } } @@ -715,8 +715,8 @@ pub fn handle_commands( _ => unimplemented!("multi xkey signer"), }; - let _ = sign_res - .map_err(|errors| anyhow::anyhow!("failed to sign PSBT {:?}", errors))?; + let _ = + sign_res.map_err(|errors| anyhow::anyhow!("failed to sign PSBT {errors:?}"))?; let mut obj = serde_json::Map::new(); obj.insert("psbt".to_string(), json!(psbt.to_string())); From c123a2835484fd9441c7f1460b8d05c091c9427b Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Tue, 23 Sep 2025 10:21:25 +1000 Subject: [PATCH 3/4] fix(electrum): clippy warnings --- crates/electrum/tests/test_electrum.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/electrum/tests/test_electrum.rs b/crates/electrum/tests/test_electrum.rs index ec226ab61..a47e6c61e 100644 --- a/crates/electrum/tests/test_electrum.rs +++ b/crates/electrum/tests/test_electrum.rs @@ -71,7 +71,7 @@ where if let Some(chain_update) = update.chain_update.clone() { let _ = chain .apply_update(chain_update) - .map_err(|err| anyhow::anyhow!("LocalChain update error: {:?}", err))?; + .map_err(|err| anyhow::anyhow!("LocalChain update error: {err:?}"))?; } let _ = graph.apply_update(update.tx_update.clone()); From d37be662e0e880b6892bb53b7a74fa0ae270fa07 Mon Sep 17 00:00:00 2001 From: Leonardo Lima Date: Thu, 9 Oct 2025 14:56:48 +1100 Subject: [PATCH 4/4] chore(deps): bump `rust-miniscript` to 0.12.x --- crates/chain/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/chain/Cargo.toml b/crates/chain/Cargo.toml index dd7d2bb36..38eeb8708 100644 --- a/crates/chain/Cargo.toml +++ b/crates/chain/Cargo.toml @@ -19,7 +19,7 @@ workspace = true bitcoin = { version = "0.32.0", default-features = false } bdk_core = { path = "../core", version = "0.6.2", default-features = false } serde = { version = "1", optional = true, features = ["derive", "rc"] } -miniscript = { version = "12.3.1", optional = true, default-features = false } +miniscript = { git = "https://github.com/rust-bitcoin/rust-miniscript.git", branch = "release-12.x", optional = true, default-features = false } # Feature dependencies rusqlite = { version = "0.31.0", features = ["bundled"], optional = true }