Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade bitcoin dependency to 0.32 and related #1555

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

jp1ac4
Copy link
Collaborator

@jp1ac4 jp1ac4 commented Jan 24, 2025

This is to upgrade bitcoin to 0.32 and related dependencies accordingly.

Note that the bdk_electrum crate has not been upgraded to the most recent version available as the Electrum syncing there takes much longer due to the fetching and validation of Merkle proofs. There are ongoing changes in relation to that (bitcoindevkit/bdk#1699) and so we can further upgrade this dependency once those changes have been completed.

Non-BDK changes to the liana and lianad crates are taken from commit 20ee8b1 in draft PR #1228, which this replaces.

(Once this PR has been tested and approved, we can release a new version of the async_hwi crate and point to that.)

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Jan 24, 2025

For reference, the upgrade to the latest bdk_electrum crate is done in d7e72cb.

@jp1ac4 jp1ac4 self-assigned this Jan 24, 2025
@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Jan 24, 2025

I'll need to investigate the failure of test_spend.py::test_coin_selection. I haven't had any failures locally, but I'll try again with the same bitcoind/electrs version as used by CI.

@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Jan 27, 2025

I'll need to investigate the failure of test_spend.py::test_coin_selection. I haven't had any failures locally, but I'll try again with the same bitcoind/electrs version as used by CI.

I can't reproduce the failing test locally even with the same bitcoind and electrs versions as used by CI.

This upgrades bitcoin to 0.32 and related dependencies accordingly.

Note that the bdk_electrum crate has not been upgraded to the most
recent version available as the Electrum syncing there takes much
longer due to the fetching and validation of Merkle proofs. There
are ongoing BDK changes in relation to that and so we can further
upgrade this dependency once those changes have been completed.

Non-BDK changes to the liana and lianad crates are taken from
darosior's commit 20ee8b1 in
draft PR wizardsardine#1228.
@jp1ac4 jp1ac4 force-pushed the prev-bdk-update-bitcoin branch from cddd3b2 to c5f5284 Compare January 27, 2025 14:36
@jp1ac4
Copy link
Collaborator Author

jp1ac4 commented Jan 27, 2025

Rebased on master and updated async_hwi depedency to v0.0.26.

Copy link
Member

@edouardparis edouardparis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK c5f5284

@edouardparis edouardparis merged commit 3c8e412 into wizardsardine:master Jan 27, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants