Uh oh!
There was an error while loading. Please reload this page.
tests: Add interoperability tests for BOLT12 (Offers) with CLN - #905
Conversation
I've assigned @tnull as a reviewer! |
bf29202 to
bd238f7Compare
tnull
left a comment
There was a problem hiding this comment.
Thanks for looking into this! Some comments.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bb198e7 to
a6eddd4Compare| async fn create_offer( | ||
| &self, amount_msat: u64, description: &str, | ||
| ) -> Result<String, TestFailure> { | ||
| Err(self.make_error("create_offer is not supported on Eclair".to_string())) |
There was a problem hiding this comment.
Hmm, I think this shouldn't be true anymore, no? Can you double-check that the latest docker image really doesn't support BOLT12? If it does we should def. un-ignore the Eclair BOLT12 test coverage in this PR.
There was a problem hiding this comment.
I was going to add Eclair and/or LND in separate PRs honestly, but let me check
| async fn test_splice_in() { | ||
| run_interop_scenario(setup_clients(), splice_in_scenario).await; | ||
| async fn test_splice_in_bolt11() { | ||
| run_interop_scenario(setup_clients(), splice_in_bolt12_scenario).await; |
There was a problem hiding this comment.
Codex:
- [P3] Run the BOLT11 splice scenario — /home/tnull/workspace/ldk-node/tests/integration_tests_eclair.rs:87-87
When the ignored Eclair splice test is run, this *_bolt11 test executes the BOLT12 splice scenario instead, so it never covers the BOLT11 path and will fail for Eclair's current lack of BOLT12 support. This should call splice_in_bolt11_scenario.
| }); | ||
| let response: serde_json::Value = self | ||
| .rpc(move |c| c.call("offer", params)) |
There was a problem hiding this comment.
Codex:
- [P1] Borrow CLN RPC parameter values — /home/tnull/workspace/ldk-node/tests/common/cln.rs:205-205
Under the CLN integration build, LightningRPC::call takes the params by reference, matching the existing &json!(...)/¶ms call sites. Passing the new serde_json::Value by value here, and again for fetchinvoice, will fail to type-check under --cfg cln_test; pass a borrow instead.
Activates scenarios for BOLT12 offer payments between ldk-node and Core Lightning (CLN) inside integration tests Fixlightningdevkit#856
a6eddd4 to
62eb1bdCompare
Activates scenarios for BOLT12 offer payments between ldk-node and Core Lightning (CLN) inside integration tests
Fix#856