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

@tnull tnull commented Jun 10, 2025

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
Copy link
Copy Markdown

ldk-reviews-bot commented Jun 10, 2025

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 tnull force-pushed the 2025-06-add-ffi-trait-exports branch from 4790f6c to 520e5aa Compare June 11, 2025 08:27
@tnull
Copy link
Copy Markdown
Collaborator Author

tnull commented Jun 11, 2025

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
Collaborator Author

tnull commented Jun 11, 2025

CI sad?

Kicked it.

@tnull tnull merged commit a2d4c1e into lightningdevkit:main Jun 11, 2025
20 of 33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants