Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logs to flaky force_close_ln_dlc_channel test #929

Merged
merged 1 commit into from
Jul 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,18 @@ async fn force_close_ln_dlc_channel() {

// Confirm CET
mine(1).await.unwrap();
tracing::info!("Mined 1 block");

coordinator.sync_on_chain().await.unwrap();
tracing::info!("Coordinator synced on-chain");
app.sync_on_chain().await.unwrap();
tracing::info!("App synced on-chain");

let coordinator_on_chain_balance_after_force_close =
coordinator.get_on_chain_balance().unwrap().confirmed;
tracing::info!(balance = %coordinator_on_chain_balance_after_force_close, "Coordinator on-chain balance");
let app_on_chain_balance_after_force_close = app.get_on_chain_balance().unwrap().confirmed;
tracing::info!(balance = %app_on_chain_balance_after_force_close, "App on-chain balance");

// Given that we have dynamic transaction fees based on the state of the regtest mempool, it's
// less error-prone to choose a conservative lower bound on the expected funds after
Expand Down