-
Notifications
You must be signed in to change notification settings - Fork 908
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
rs: Bump crates and update bitcoin
dependency
#6726
rs: Bump crates and update bitcoin
dependency
#6726
Conversation
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.
There are two thinkg in this PR
Unfortunately rust-bitcoin introduce some braking changes like
cp tools/hsmtool tools/lightning-hsmtool
error[E0599]: no method named `to_vec` found for struct `Sha256` in the current scope
--> cln-grpc/src/convert.rs:148:42
|
148 | payment_hash: c.payment_hash.to_vec(), // Rule #2 for type hash
| ^^^^^^ method not found in `Sha256`
error[E0599]: no method named `to_vec` found for struct `Sha256` in the current scope
--> cln-grpc/src/convert.rs:165:48
|
165 | channel_id: c.channel_id.map(|v| v.to_vec()), // Rule #2 for type hash?
| ^^^^^^ method not found in `Sha256`
error[E0599]: no method named `to_vec` found for struct `Sha256` in the current scope
--> cln-grpc/src/convert.rs:274:48
|
274 | channel_id: c.channel_id.map(|v| v.to_vec()), // Rule #2 for type hash?
| ^^^^^^ method not found in `Sha256`
Then lnprototest I started to fails and I am tracking it with #6727
0ca2849
to
14917db
Compare
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.
14917db
to
d92ebde
Compare
Since I was at it I also added a fix for #6735 |
59dad0a
to
e76650a
Compare
cln-rpc and cln-plugin 0.1.6 are already published |
🙏 |
Some methods (`withdraw`) require their parameter to be in satoshis rather than millisats. In order for us not to have to come up with yet another triple of sat, sat_or_all, and sat_or_any, we just bolt it onto the conversion.
19973b1
to
df40ef5
Compare
df40ef5
to
fac587b
Compare
Signed-off-by: Peter Neuroth <[email protected]>
The Pre-build checks are still complaining about a mismatch in the compiled proto stubs and I don't understand why. CI uses |
Hopefully this will fix the ci. Signed-off-by: Peter Neuroth <[email protected]>
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.
ACK 6802a44
The Fedi project is asking for a new version, and hoping that we switch to
bitcoin==0.30.1
to reduce their dependencies. Why not :-)Fixes #6735
Changelog-None