You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the two versions of bitcoin (one is for 0.25, a direct dep for crate relayer, and another is at 0.26, a dep from hdpath). It is unclear why, but this leads to compilation issues, because the trait bound DerivationPath: From<StandardHDPath> could no longer be resolved.
The problem appeared recently, probably linked with the recent release of bitcoin v0.26.0; these changes may be relevant.
We solved this problem by depending on the latest version of bitcoin crate:
- bitcoin = { version = "0.25" }+ bitcoin = { version = "=0.26" }
But we're not sure why the problem appeared in the first place.
Just wanted to flag this issue here, as other users of hdpath may run into this issue.
The text was updated successfully, but these errors were encountered:
Hi @adizere! Thank you for bringing it in. I actually saw that with my another dependent project, but thought it's some misconfiguration on another side and didn't pay much attention.
Since you have it too, it's definitely something with the hdpath and I'll take a look what's wrong with it
In our crate
ibc-rs/relayer
we're using hdpath for this particularwith-bitcoin
functionality.We depend on hdpath as follows:
We also depend on the bitcoin crate:
Currently, hdpath has the following dep configuration towards
bitcoin
crate:hdpath-rs/Cargo.toml
Line 18 in 5762d69
Given this dependency configuration, cargo builds a dependency graph that looks as follows:
Notice the two versions of
bitcoin
(one is for0.25
, a direct dep for craterelayer
, and another is at0.26
, a dep fromhdpath
). It is unclear why, but this leads to compilation issues, because the trait boundDerivationPath: From<StandardHDPath>
could no longer be resolved.The problem appeared recently, probably linked with the recent release of bitcoin v0.26.0; these changes may be relevant.
We solved this problem by depending on the latest version of
bitcoin
crate:But we're not sure why the problem appeared in the first place.
Just wanted to flag this issue here, as other users of
hdpath
may run into this issue.The text was updated successfully, but these errors were encountered: