-
Notifications
You must be signed in to change notification settings - Fork 174
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
refactor(torii-libp2p): use is_valid_signature for different sig impls #2302
Conversation
WalkthroughOhayo, sensei! The recent changes streamline the handling of message signatures in the codebase. The Changes
Recent review detailsConfiguration used: .coderabbit.yaml Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
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 Configuration File (
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2302 +/- ##
=======================================
Coverage 69.60% 69.61%
=======================================
Files 352 352
Lines 46031 46018 -13
=======================================
- Hits 32040 32034 -6
+ Misses 13991 13984 -7 ☔ 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.
Nice this change for more compatibility across accounts! 👍
controller signatures are different from signatures from like argent, openzeppelin etc.. so we directly use the account's is_valid_signature function to check the signature validity
Summary by CodeRabbit
New Features
Message
structure for improved clarity and flexibility.Bug Fixes
Documentation
Message
struct and its signature handling.