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

Update BDK to 1.0.0 and LDK to 0.1.0 #426

Merged
merged 2 commits into from
Jan 16, 2025

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Jan 3, 2025

We upgrade LDK and BDK to the latest releases.

@tnull tnull requested a review from jkczyz January 3, 2025 11:56
@tnull tnull force-pushed the 2025-01-upgrade-bdk-ldk branch 8 times, most recently from aa745c6 to 115104c Compare January 6, 2025 12:39
@tnull tnull force-pushed the 2025-01-upgrade-bdk-ldk branch from 115104c to 4e31967 Compare January 13, 2025 09:32
@tnull
Copy link
Collaborator Author

tnull commented Jan 13, 2025

Rebased on #429 to check it works (as other CI failures are fixed here).

@tnull tnull force-pushed the 2025-01-upgrade-bdk-ldk branch from 4e31967 to d7eb1a1 Compare January 13, 2025 10:07
src/payment/bolt11.rs Outdated Show resolved Hide resolved
src/io/test_utils.rs Outdated Show resolved Hide resolved
@tnull tnull force-pushed the 2025-01-upgrade-bdk-ldk branch from d7eb1a1 to 363dd0f Compare January 14, 2025 14:49
Copy link
Contributor

@jkczyz jkczyz left a comment

Choose a reason for hiding this comment

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

LGTM. Feel free to squash fixups.

@tnull
Copy link
Collaborator Author

tnull commented Jan 15, 2025

LGTM. Feel free to squash fixups.

Squashed. I think we'll still need to wait on #429 and until LDK 0.1.0 ships to land this though.

tnull added 2 commits January 16, 2025 09:43
Previously, we decided to continue parsing any fields if we failed to
parse a known (i.e., `lightning` or `lno`) parameter failed to parse.
This however just hides the error and is a bit anti-idiomatic even
though allowing to use *some* URI fields even in the face of
incompatible formats for others.

Here we therefore opt to fail parsing the URI if any field fails.
@tnull tnull force-pushed the 2025-01-upgrade-bdk-ldk branch from b8b9f01 to c39bfba Compare January 16, 2025 08:43
@tnull tnull requested a review from jkczyz January 16, 2025 08:44
@tnull
Copy link
Collaborator Author

tnull commented Jan 16, 2025

@jkczyz Now updated the branch for final 0.1.0 release crates, and dropped the DROPME commit. Should be good to go.

@tnull tnull added this to the 0.5 milestone Jan 16, 2025
@tnull tnull merged commit 03c4ab0 into lightningdevkit:main Jan 16, 2025
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants