Skip to content

Move serialization of channel_state fields to channel_state.rs #3091

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

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

1f616c0 moved a handful of structs to the new channel_state.rs but forgot to move their serialization logic with them, which is corrected here.

jkczyz
jkczyz previously approved these changes Jun 4, 2024
@TheBlueMatt
Copy link
Collaborator Author

Strict code movement (git show --color-moved shows only colored diff and use changes), so gonna go ahead and land when CI finishes.

@TheBlueMatt
Copy link
Collaborator Author

Grrr, rustfmt.

@codecov-commenter
Copy link

codecov-commenter commented Jun 4, 2024

Codecov Report

Attention: Patch coverage is 0% with 75 lines in your changes missing coverage. Please review.

Project coverage is 89.85%. Comparing base (15c709d) to head (64e5dc4).
Report is 11 commits behind head on main.

Files Patch % Lines
lightning/src/ln/channel_state.rs 0.00% 75 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3091      +/-   ##
==========================================
- Coverage   89.89%   89.85%   -0.05%     
==========================================
  Files         118      119       +1     
  Lines       97471    98488    +1017     
  Branches    97471    98488    +1017     
==========================================
+ Hits        87624    88498     +874     
- Misses       7280     7422     +142     
- Partials     2567     2568       +1     

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

@jkczyz
Copy link
Contributor

jkczyz commented Jun 4, 2024

CI still failing... unused imports 😭

1f616c0 moved a handful of structs
to the new `channel_state.rs` but forgot to move their
serialization logic with them, which is corrected here.
@TheBlueMatt TheBlueMatt force-pushed the 2024-06-channel_state_ser branch from 9b5e1b7 to 64e5dc4 Compare June 4, 2024 19:33
@TheBlueMatt
Copy link
Collaborator Author

Ugh, fixed.

@TheBlueMatt
Copy link
Collaborator Author

Okay, same as above applies, just landing this.

@TheBlueMatt TheBlueMatt merged commit e5b7402 into lightningdevkit:main Jun 4, 2024
15 of 16 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