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

Remove WriteableEcdsaChannelSigner trait #3059

Merged

Conversation

jkczyz
Copy link
Contributor

@jkczyz jkczyz commented May 10, 2024

EcdsaChannelSigner is no longer deserialized as of version 0.0.113 and downgrades before version 0.0.113 are no longer supported as of version 0.0.119. Stop writing it and remove the WriteableEcdsaChannelSigner trait.

Closes #3053.

@jkczyz jkczyz force-pushed the 2024-05-drop-writeable-signer branch from 75100e3 to 4ad3401 Compare May 10, 2024 19:54
TheBlueMatt
TheBlueMatt previously approved these changes May 10, 2024
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.

Interface simplification, straight code removal, beautiful.

@codecov-commenter
Copy link

codecov-commenter commented May 10, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 89.79%. Comparing base (0ffa4b3) to head (efc7579).

Files Patch % Lines
lightning/src/chain/onchaintx.rs 0.00% 0 Missing and 1 partial ⚠️

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3059      +/-   ##
==========================================
- Coverage   89.81%   89.79%   -0.03%     
==========================================
  Files         116      116              
  Lines       96472    96465       -7     
  Branches    96472    96465       -7     
==========================================
- Hits        86647    86616      -31     
- Misses       7258     7292      +34     
+ Partials     2567     2557      -10     

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

@G8XSU
Copy link
Contributor

G8XSU commented May 10, 2024

"downgrades before version 0.0.119 are no longer supported."

iiuc, it should be 113.
commit message and pull request needs to reflect the same

@jkczyz
Copy link
Contributor Author

jkczyz commented May 10, 2024

iiuc, it should be 113. commit message and pull request needs to reflect the same

Corrected!

G8XSU
G8XSU previously approved these changes May 10, 2024
EcdsaChannelSigner is no longer deserialized as of version 0.0.113 and
downgrades before version 0.0.113 are no longer supported as of version
0.0.119.
WriteableEcdsaChannelSigner is no longer needed now that
EcdsaChannelSigner isn't written in OnchainTxHandler.
@jkczyz
Copy link
Contributor Author

jkczyz commented May 10, 2024

Sorry, latest push just fixed some grammar

@TheBlueMatt TheBlueMatt merged commit d3cd080 into lightningdevkit:main May 11, 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.

Drop the Writeable bound on channel signers entirely
4 participants