Uh oh!
There was an error while loading. Please reload this page.
Add python integration test for spontaneous keysend payments - #923
Conversation
👋 I see @tnull was un-assigned. |
ldk-reviews-bot
commented
Jun 8, 2026
🔔 1st Reminder Hey @tnull! This PR has been waiting for your review. |
tnull
left a comment
There was a problem hiding this comment.
CI is currently not available, so we'll need to wait a bit. One comment for now
Uh oh!
There was an error while loading. Please reload this page.
0a308cb to
8056689Compareldk-reviews-bot
commented
Jun 15, 2026
🔔 1st Reminder Hey @tnull! This PR has been waiting for your review. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
8056689 to
3c9be11Compareldk-reviews-bot
commented
Jun 20, 2026
🔔 1st Reminder Hey @tnull! This PR has been waiting for your review. |
ldk-reviews-bot
commented
Jun 22, 2026
🔔 2nd Reminder Hey @tnull! This PR has been waiting for your review. |
tnull
left a comment
There was a problem hiding this comment.
This needs a rebase now, sorry!
heyolaniran
commented
Jun 23, 2026
@tnull fine, the conflit is resolved and i notice the CI is back ! |
tnull
commented
Jun 24, 2026
heyolaniran
commented
Jun 24, 2026
tnull
left a comment
There was a problem hiding this comment.
Please cleanup the commit history. It should just be two commits: first the prefactor extracting logic into the helper, then using the helper adding the new test case.
Please also make sure to follow the guidance on https://cbea.ms/git-commit/ for how to format/structure commit messages.
Duplicated node setup, funding, channel opening, and teardown logic made integration tests harder to read and maintain. Hard-coded ports also risked collisions when tests run in parallel. Introduce reusable helpers for two-node setup, funding, channel ready waiting, and cleanup. Bind ephemeral ports to avoid conflicts, and refactor test_channel_full_cycle to use them without changing test behavior.
Exercise the spontaneous payment (keysend) path through the Python UniFFI bindings after a channel is ready. Assert events, custom TLV records, and persisted payment metadata on both sender and receiver.
51df0ce to
b318ccdCompareheyolaniran
commented
Jun 24, 2026
sure. history cleaned @tnull |
Uh oh!
There was an error while loading. Please reload this page.
Hello @tnull x @enigbe x @Camillarhi This commit adds the test_spontaneous_payment method which :
Motivation
The python bindings has not coverage for
send_with_custom_tlvsRun the new test