-
Notifications
You must be signed in to change notification settings - Fork 81
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
feat(ibc-query): define request/response domain types #1129
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1129 +/- ##
==========================================
- Coverage 66.50% 63.11% -3.40%
==========================================
Files 209 217 +8
Lines 20692 21806 +1114
==========================================
Hits 13762 13762
- Misses 6930 8044 +1114 ☔ 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.
Overall LGTM 👍
Added review comments for some changes.
Signed-off-by: Rano | Ranadeep <ranadip.bswas@gmail.com>
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 to handle the gRPC types smoothly.
I added a few changes as discussed in previous review comments. I also removed several clippy lints.
|
* feat: Add domain definitions for request/response query types in ibc-query * chore: add unclog * feat: define serde & schema features * fix: derive missing schemars * docs: add remarks to README + additional unclog * chore: some clean-ups * chore: organize orders * feat: add TryFrom for response types * use invalid_argument error code * rm redudant lint relaxing * use proof_not_found method * consistent QueryError enum structure * Update ibc-query/README.md Signed-off-by: Rano | Ranadeep <ranadip.bswas@gmail.com> * clippy::match_bool * clippy::use_self * clippy::or_fun_call * use if-let-some over match * clippy::redundant_closure_for_method_calls * Into::into over T::from * clippy::uninlined_format_args * clippy::cast_lossless * clippy::impl_trait_in_params * clippy::shadow_reuse * clippy::pattern_type_mismatch * safe use of u64::MAX * then over then_some * rename IntoProto to IntoResponse --------- Signed-off-by: Rano | Ranadeep <ranadip.bswas@gmail.com> Co-authored-by: Ranadeep Biswas <mail@rnbguy.at> Co-authored-by: Rano | Ranadeep <ranadeep@informal.systems>
Closes: #1128
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.