Ran
|
Jobs
1
|
Files
45
|
Run time
1min
|
Badge
Embed ▾
README BADGES
|
push
github
Merge bitcoindevkit/bdk#1448: bump(deps): upgrade rust `bitcoin` to `0.32.0`, `miniscript` to `0.12.0` and others 11200810d chore(wallet): rm dup code (志宇) 2a4564097 deps(bdk): bump `bitcoin` to `0.32.0`, miniscript to `12.0.0` (Leonardo Lima) Pull request description: fixes #1422 <!-- You can erase any parts of this template not applicable to your Pull Request. --> ### Description This PR focuses on upgrading the `rust-bitcoin` and `miniscript` versions, to `0.32.0` and `0.12.0`, respectively. It also bumps the versions of other BDK ecosystem crates that also rely on both `rust-bitcoin` and `miniscript`, being: - electrum-client https://github.com/bitcoindevkit/rust-electrum-client/pull/133 - esplora-client https://github.com/bitcoindevkit/rust-esplora-client/pull/85 - hwi https://github.com/bitcoindevkit/rust-hwi/pull/99 <ins>I structured the PR in multiple commits, with closed scope, being one for each BDK crate being upgraded, and one for each kind of fix and upgrade required, it seems like a lot of commits (**that should be squashed before merging**), but I think it'll make it easier during review phase.</ins> In summary I can already mention some of the main changes: - using `compute_txid()` instead of deprecated `txid()` - using `minimal_non_dust()` instead of `dust_value()` - using the renamed `signature` and `sighash_type` fields - using proper `sighash::P2wpkhError`, `sighash::TaprootError` instead of older `sighash::Error` - conversion from `Network` to new expected `NetworkKind` #1465 - conversion from the new `Weight` type to current expected `usize` #1466 - using `.into()` to convert from AbsLockTime and `RelLockTime` to `absolute::LockTime` and `relative::LockTime` - using Message::from_digest() instead of relying on deprecated `ThirtyTwoByteHash` trait. - updating the miniscript policy and dsl to proper expect and handle new `Thre... (continued)
101 of 125 new or added lines in 19 files covered. (80.8%)
13 existing lines in 3 files now uncovered.11254 of 13511 relevant lines covered (83.3%)
16751.83 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
46.15 |
0.0% | crates/chain/src/descriptor_ext.rs |
1 |
86.46 |
0.02% | crates/chain/src/tx_graph.rs |
1 |
72.95 |
0.0% | crates/electrum/src/bdk_electrum_client.rs |
1 |
6.38 |
0.0% | crates/wallet/src/descriptor/error.rs |
1 |
76.27 |
-0.31% | crates/wallet/src/keys/mod.rs |
8 |
81.2 |
0.09% | crates/wallet/src/descriptor/policy.rs |
11 |
82.99 |
-0.91% | crates/wallet/src/wallet/signer.rs |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
82.99 |
-0.91% | crates/wallet/src/wallet/signer.rs |
1 |
81.2 |
0.09% | crates/wallet/src/descriptor/policy.rs |
11 |
55.15 |
-1.13% | crates/wallet/src/descriptor/dsl.rs |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 9493582787.1 | 45 |
83.3 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|