Skip to content

Bump LDK dependency#971

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-07-bump-ldk
Jul 8, 2026
Merged

Bump LDK dependency#971
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2026-07-bump-ldk

Conversation

@tnull

@tnull tnull commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Update LDK to revision 506cb91f2e0fb87906188b79777bcf42595d3623 from the 0.3 branch, and adapt onion-message interception to the new event and messenger APIs so the crate compiles.

@tnull tnull requested a review from joostjager July 8, 2026 07:20
@ldk-reviews-bot

ldk-reviews-bot commented Jul 8, 2026

Copy link
Copy Markdown

👋 Thanks for assigning @joostjager as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@tnull tnull mentioned this pull request Jul 8, 2026
Comment thread src/event.rs Outdated
self.logger,
"Onion message intercepted, but no onion message mailbox available"
);
log_trace!(self.logger, "Onion message intercepted for unknown SCID");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be an error because the onion messenger is now created with intercept_for_unknown_scids set to false?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Hmm, not sure, that seems overly strict? I.e., seems asserting that only intercepted events are emitted should be part part of LDK's test coverage, not part of LDK Node's production code?

@joostjager joostjager Jul 8, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I mean just logging it as error, not necessarily returning an error.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Okay, fine by me if you prefer. Amend the commit.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Was just asking because it seemed that this branch is never expected to be hit.

Update LDK to revision 506cb91f2e0fb87906188b79777bcf42595d3623
from the 0.3 branch, and adapt onion-message interception to the
new event and messenger APIs so the crate compiles.

Co-Authored-By: HAL 9000
@tnull tnull force-pushed the 2026-07-bump-ldk branch from 33d2aa6 to dea5ca0 Compare July 8, 2026 09:54
@tnull tnull merged commit 4479a62 into lightningdevkit:main Jul 8, 2026
17 of 23 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.

3 participants