Skip to content

Rename counterparty commitment fields #4025

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jkczyz
Copy link
Contributor

@jkczyz jkczyz commented Aug 22, 2025

To align with the "current" and "next" nomenclature used by HolderCommitmentPoint in #4014, update the naming of the counterparty commitment number / point fields to use "next" instead of "current" and "current" instead of "previous".

@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Aug 22, 2025

👋 I see @valentinewallace was un-assigned.
If you'd like another reviewer assignment, please click here.

jkczyz added 3 commits August 22, 2025 18:34
To align with the "current" and "next" nomenclature used by
HolderCommitmentPoint, update the naming of the counterparty commitment
transaction number field to use "next" instead of "current".
To align with the "current" and "next" nomenclature used by
HolderCommitmentPoint, update the naming of the counterparty commitment
point field to use "next" instead of "current".
To align with the "current" and "next" nomenclature used by
HolderCommitmentPoint, update the naming of the counterparty commitment
point field to use "current" instead of "previous".
@jkczyz jkczyz requested review from TheBlueMatt and removed request for valentinewallace August 23, 2025 00:57
@jkczyz jkczyz force-pushed the 2025-08-current-next-counterparty-point branch from 2501e09 to 6bde10c Compare August 23, 2025 00:58
Copy link

codecov bot commented Aug 23, 2025

Codecov Report

❌ Patch coverage is 88.13559% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.79%. Comparing base (6f78d57) to head (6bde10c).

Files with missing lines Patch % Lines
lightning/src/ln/channel.rs 88.13% 1 Missing and 6 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4025      +/-   ##
==========================================
+ Coverage   88.76%   88.79%   +0.02%     
==========================================
  Files         175      175              
  Lines      127895   127895              
  Branches   127895   127895              
==========================================
+ Hits       113532   113565      +33     
+ Misses      11791    11771      -20     
+ Partials     2572     2559      -13     
Flag Coverage Δ
fuzzing 21.70% <50.87%> (ø)
tests 88.62% <88.13%> (+0.02%) ⬆️

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.

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.

2 participants