Skip to content

Export trait impls in FFI - #573

Merged
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2025-06-add-ffi-trait-exports
Jun 11, 2025
Merged

Export trait impls in FFI#573
tnull merged 1 commit into
lightningdevkit:mainfrom
tnull:2025-06-add-ffi-trait-exports

Conversation

@tnull

Copy link
Copy Markdown
Collaborator

Previously, we moved from a String representation to a 'full' Bolt11Invoice type. However, we forgot to expose the Display implementation in the FFI, leaving now way to retrieve the invoice string.

Here, we fix this oversight, and also make a few related changes.

(cc @alexanderwiederin)

@ldk-reviews-bot

ldk-reviews-bot commented Jun 10, 2025

Copy link
Copy Markdown

I've assigned @valentinewallace 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.

@valentinewallace

Copy link
Copy Markdown
Contributor

Needs rebase

@valentinewallace

Copy link
Copy Markdown
Contributor

I think the test failure is just a flake?

Previously, we moved from a `String` representation to a 'full'
`Bolt11Invoice` type. However, we forgot to expose the `Display`
implementation in the FFI, leaving now way to retrieve the invoice
string.
Here, we fix this oversight, and also make a few related changes.
@tnull
tnullforce-pushed the 2025-06-add-ffi-trait-exports branch from 4790f6c to 520e5aaCompareJune 11, 2025 08:27
@tnull

Copy link
Copy Markdown
CollaboratorAuthor

Needs rebase

Rebased

I think the test failure is just a flake?

Yes, it is, see #527

@valentinewallace

Copy link
Copy Markdown
Contributor

CI sad?

@tnull

Copy link
Copy Markdown
CollaboratorAuthor

CI sad?

Kicked it.

Sign up for freeto 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

@tnull@ldk-reviews-bot@valentinewallace