-
Notifications
You must be signed in to change notification settings - Fork 406
Add further standard derives to various onion message structs #2892
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 further standard derives to various onion message structs #2892
Conversation
WalkthroughThe modifications in the codebase primarily focus on enhancing the enums within the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- lightning/src/onion_message/messenger.rs (4 hunks)
Additional comments: 5
lightning/src/onion_message/messenger.rs (5)
- 416-416: The
Hash
andDebug
traits have been correctly added to theDestination
enum.- 443-443: The
Hash
andDebug
traits have been correctly added to theSendSuccess
enum.- 456-456: The
Hash
andDebug
traits have been correctly added to theSendError
enum.- 526-526: The
Debug
trait has been correctly added to thePeeledOnion
enum.- 413-419: > 📝 NOTE
This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [1-1035]
Overall, the rest of the file outside the specific changes to enums does not contain modifications as part of this PR. The existing logic, structure, and implementations remain unchanged.
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2892 +/- ##
==========================================
+ Coverage 89.10% 89.13% +0.03%
==========================================
Files 115 115
Lines 94105 94106 +1
Branches 94105 94106 +1
==========================================
+ Hits 83853 83883 +30
+ Misses 7772 7740 -32
- Partials 2480 2483 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI failing for unrelated MSRV reasons again.
EDIT: Just saw 2891
No description provided.