Skip to content

Commit c492f33

Browse files
committed
Refactor CLN/LND tests and add Eclair test entry points
Add CLN splice support
1 parent 4874ce7 commit c492f33

5 files changed

Lines changed: 827 additions & 268 deletions

File tree

tests/common/scenarios/channel.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ pub(crate) async fn test_cooperative_close_after_fee_change<E: ElectrumApi>(
178178
setup_interop_test(node, peer, bitcoind, electrs).await;
179179

180180
let (user_channel_id, _ext_channel_id) =
181-
open_channel_to_external(node, peer, bitcoind, electrs, 1_000_000, Some(500_000_000))
182-
.await;
181+
open_channel_to_external(node, peer, bitcoind, electrs, 1_000_000, Some(500_000_000)).await;
183182

184183
// Make a payment to confirm channel is working
185184
let invoice_str = peer.create_invoice(5_000_000, "pre-fee-change").await.unwrap();
@@ -216,8 +215,7 @@ pub(crate) async fn test_force_close_after_fee_change<E: ElectrumApi>(
216215
setup_interop_test(node, peer, bitcoind, electrs).await;
217216

218217
let (user_channel_id, _ext_channel_id) =
219-
open_channel_to_external(node, peer, bitcoind, electrs, 1_000_000, Some(500_000_000))
220-
.await;
218+
open_channel_to_external(node, peer, bitcoind, electrs, 1_000_000, Some(500_000_000)).await;
221219

222220
// Mine many blocks to shift fee environment
223221
generate_blocks_and_wait(bitcoind, electrs, 50).await;

tests/common/scenarios/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ pub(crate) mod disconnect;
1717
pub(crate) mod payment;
1818
pub(crate) mod splice;
1919

20-
2120
use bitcoin::Amount;
2221
use electrsd::corepc_node::Client as BitcoindClient;
2322
use electrum_client::ElectrumApi;

0 commit comments

Comments
 (0)