Skip to content

Conversation

@elnosh
Copy link
Contributor

@elnosh elnosh commented Nov 10, 2025

This removes the commitment_signed_dance macro and replaces it with the calls to the appropriate functions.

Replace calls to `commitment_signed_dance` macro when
skip_last_step=false to instead call `do_commitment_signed_dance`.
Replace calls to `commitment_signed_dance` macro when
skip_last_step=true to instead call `do_commitment_signed_dance`.
Replace calls to `commitment_signed_dance` macro to instead
call `commitment_signed_dance_through_cp_raa`.
Replace last `commitment_signed_dance` calls with
`commitment_signed_dance_return_raa`.
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Nov 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.

@codecov
Copy link

codecov bot commented Nov 10, 2025

Codecov Report

❌ Patch coverage is 99.70238% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 89.34%. Comparing base (e42e74e) to head (1bbc692).
⚠️ Report is 10 commits behind head on main.

Files with missing lines Patch % Lines
lightning/src/ln/payment_tests.rs 98.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4214      +/-   ##
==========================================
+ Coverage   89.33%   89.34%   +0.01%     
==========================================
  Files         180      180              
  Lines      138055   138122      +67     
  Branches   138055   138122      +67     
==========================================
+ Hits       123326   123401      +75     
+ Misses      12122    12117       -5     
+ Partials     2607     2604       -3     
Flag Coverage Δ
fuzzing 33.57% <0.00%> (-0.01%) ⬇️
tests 88.73% <99.70%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@elnosh elnosh marked this pull request as ready for review November 11, 2025 04:17
Copy link
Collaborator

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Thanks! Might be worth going back and adding better documentation (and comments) on the methods that are there and thinking about whether there's some better way to communicate what's happening in method names.

@TheBlueMatt TheBlueMatt merged commit 7815e54 into lightningdevkit:main Nov 11, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants