-
Notifications
You must be signed in to change notification settings - Fork 28
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
chore(deps): upgrade rust-bitcoin
to 0.32.0
#99
Merged
notmandatory
merged 5 commits into
bitcoindevkit:master
from
oleonardolima:deps/upgrade-rust-bitcoin-to-0.32.0
Jun 4, 2024
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
be5b382
chore: upgrade `bitcoin` dependency to `0.32.0`
oleonardolima c15e1a2
chore: upgrade `miniscript` dependency to `0.12.0`
oleonardolima 7afc15a
fix: use `compute_txid()` instead of deprecated `txid()`
oleonardolima ede9ea7
fix: format `DerivationPath` w/ prefix `m/` when using as hwilib
oleonardolima be7933a
chore: bump version to `0.9.0`
oleonardolima File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "hwi" | ||
version = "0.8.0" | ||
version = "0.9.0" | ||
authors = ["Daniela Brozzoni <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT" | ||
|
@@ -11,12 +11,12 @@ readme = "README.md" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
bitcoin = { version = "0.31.0", features = ["serde", "base64"] } | ||
bitcoin = { version = "0.32", features = ["serde", "base64"] } | ||
serde = { version = "^1.0", features = ["derive"] } | ||
serde_json = { version = "^1.0" } | ||
pyo3 = { version = "0.21.2", features = ["auto-initialize"] } | ||
|
||
miniscript = { version = "11.0", features = ["serde"], optional = true } | ||
miniscript = { version = "12.0", features = ["serde"], optional = true } | ||
|
||
[dev-dependencies] | ||
serial_test = "0.6.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drats, that turned out ugly didn't it. Maybe we should have a function that explicitly does this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, a specific function for that would help.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Including
m/
is actually incorrect/misunderstanding of the BIP. Why did you keep the incorrect behavior?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Kixunil , which BIP in particular do you mean?
Anyway this PR isn't meant to change how this lib works, only to bump the version of rust-bitcoin. If there's something we need to fix we can do it in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
32, see this issue: rust-bitcoin/rust-bitcoin#2451
However, I've just noticed this is still debated: rust-bitcoin/rust-bitcoin#2671
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I kept it because it would require changes on the upstream hwilib, ACK's, and so on, as Steve mentioned not the scope of this PR.
Thanks, I'll keep an eye on the issue discussion, and update it in another PR if appropriate.