-
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
feat: implement 08-wasm
client types
#1031
Conversation
deps: bump ibc-proto rev
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1031 +/- ##
==========================================
+ Coverage 71.21% 71.45% +0.24%
==========================================
Files 178 187 +9
Lines 18198 18516 +318
==========================================
+ Hits 12959 13230 +271
- Misses 5239 5286 +47 ☔ 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.
Thanks @Farhad-Shabani for taking care of this. 🙏
I requested some changes. The most important ones are the unit tests.
.changelog/unreleased/features/1030-implement-08-wasm-client-types.md
Outdated
Show resolved
Hide resolved
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 @Farhad-Shabani ! 👌 I am approving the PR with a question about bytes
dependency.
I also added some new tests. If you approve of them, go ahead with merging.
Thank you @rnbguy for the tests. 👌🏻 |
* feat: implement 08-wasm client types deps: bump ibc-proto rev * fix: no_std compatibility * imp: add all of the Wasm msg types * chore: update Cargo.lock * chore: use ibc-proto-rs rev which contains sovereign protos * nit: correct ibc-proto-rs rev * chore: apply review comments * fix: use From instead of TryFrom where Error = Infallible * add WASM_CLIENT_TYPE * add tests for Base64 * add tests for ClientType * add tests in wasm client type crate * use bytes over strings * nit: remove bytes --------- Co-authored-by: Ranadeep Biswas <mail@rnbguy.at>
Closes: #1030
Related PR for adding required proto types: cosmos/ibc-proto-rs#170
Notes
Vec<u8>
, aByte
type alias has been defined, allowing for better encapsulation and inclusion of potential implementation of various checks in the future, such as length limitations or etc.PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.