-
Notifications
You must be signed in to change notification settings - Fork 87
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 packet handler proofs #323
Conversation
Codecov ReportBase: 66.31% // Head: 62.96% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #323 +/- ##
==========================================
- Coverage 66.31% 62.96% -3.35%
==========================================
Files 125 124 -1
Lines 12922 13931 +1009
==========================================
+ Hits 8569 8772 +203
- Misses 4353 5159 +806
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Great work! There's just the Proofs
refactor to be done and we'll be ready to merge!
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.
Good job! Most of the comments are requests to change variable names
.changelog/unreleased/breaking-changes/230-packet-proofs-verification.md
Outdated
Show resolved
Hide resolved
crates/ibc/src/core/ics04_channel/handler/write_acknowledgement.rs
Outdated
Show resolved
Hide resolved
Thank you @plafer |
That's fine; we want to avoid changing the proto as it's a breaking change at the protocol level. This is also the advantage of using domain types: we can rename and reorganize the proto types as we wish for internal use. |
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.
🎉
* Refactor packet handler proofs * Refactor proofs of packet message types * modify docs about our naming convention * Mend missed naming conventions and apply nits * Apply naming convention on Packet struct * Apply naming convention on MsgTransfer * Add docstring before processes to emphasize naming convention * Move clone to error paths * Fix clippy warnings Co-authored-by: Philippe Laferriere <plafer@protonmail.com>
Closes: #230
Purpose
Streamline the process of verifying proofs of packet handlers as a predecessor activity for ADR05 implementation
Description
process
functionics04_channel/handler/verify.rs
proofs.rs
moduleRemarks
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.