Update Wallet to 2.3.0 and other deps#248
Update Wallet to 2.3.0 and other deps#248tvpeter wants to merge 3 commits intobitcoindevkit:masterfrom
Conversation
|
@notmandatory, I’m wondering if we should update our signing approach since the current method is deprecated. If we choose to proceed with the update, we will need to add |
Good question. I've created bitcoindevkit/bdk_wallet#405 to revert the deprecating of the signer mod. The new PSBT signer probably won't be available until |
|
Related #243. |
All correct. I've also reproduced error from PR's CI build in my local run I've applied the fix from #252 to my local code to verify that it helps. |
- Add wallet events to full_scan and sync subcommands
- update bdk_bitcoind_rpc to v0.22.0 - update bdk_electrum to v0.23.2 - update bdk_kyoto to v0.15.4
f7817a9 to
bfdabf7
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #248 +/- ##
==========================================
- Coverage 11.13% 10.97% -0.16%
==========================================
Files 8 8
Lines 2488 2524 +36
==========================================
Hits 277 277
- Misses 2211 2247 +36
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Thanks for the rebase, @tvpeter! Unfortunately, CI is now failing because Pinning back to 2.1.0 won't work either - this branch already uses So it looks like we're stuck waiting for 2.4.0 to be released. Until then, CI will fail on this PR (and on any PR that rebases after merging this one). |
| let wallet_events = wallet | ||
| .apply_update_events(update) | ||
| .map_err(|e| Error::Generic(e.to_string()))?; | ||
| print_wallet_events(&wallet_events); | ||
| Ok(()) |
There was a problem hiding this comment.
We could use tap for convenience:
| let wallet_events = wallet | |
| .apply_update_events(update) | |
| .map_err(|e| Error::Generic(e.to_string()))?; | |
| print_wallet_events(&wallet_events); | |
| Ok(()) | |
| wallet | |
| .apply_update_events(update) | |
| .map_err(|e| Error::Generic(e.to_string()))? | |
| .tap(print_wallet_events); | |
| Ok(()) |
| Ok((wallet_opts, network)) | ||
| } | ||
| #[cfg(any(feature = "electrum", feature = "esplora",))] | ||
| pub fn print_wallet_events(events: &Vec<WalletEvent>) { |
There was a problem hiding this comment.
| pub fn print_wallet_events(events: &Vec<WalletEvent>) { | |
| pub fn print_wallet_events(events: &[WalletEvent]) { |
Yes, I updated the warnings to be treated as errors in this commit 8d20cf2 because many Clippy warnings were being neglected and had to be merged into master. It's not coming from bdk_wallet |
Description
This PR updates the Wallet api to v2.3.0 and other dependencies.
Fixes #243
Changelog notice
Checklists
All Submissions:
cargo fmtandcargo clippybefore committing