-
Notifications
You must be signed in to change notification settings - Fork 359
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
Implement client update and fix client create CLIs #355
Conversation
Cleanup and tests Add query_consensus_params() and fix query_header_at_height() in cosmos chain Refactor a bit the accnt seq and key-seed code Update signed_header.json with valid signed header Hardcode cosmos ics23 specs for create client msg Remove ics07 messages Fix create client params and filling Impl domain type for MsgUpdateAnyClient Add update client CLI Impl domain type for ics02 AnyHeader and ics07 Header Add type-url constants Make changes to compile Use local tendermint-rs based on Greg's branch
Codecov Report
@@ Coverage Diff @@
## master informalsystems/hermes#355 +/- ##
=========================================
+ Coverage 13.6% 34.6% +20.9%
=========================================
Files 69 143 +74
Lines 3752 9048 +5296
Branches 1374 3053 +1679
=========================================
+ Hits 513 3132 +2619
- Misses 2618 5676 +3058
+ Partials 621 240 -381
Continue to review full report at Codecov.
|
@ancazamfir Amazing job by the way :) |
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.
Cool stuff!
Left a few ideas on how we can continue this work + do a bit of cleanup, but this is almost ready.
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 Anca for the replies & updates. Looks good!
* Initial commit of client txs Cleanup and tests Add query_consensus_params() and fix query_header_at_height() in cosmos chain Refactor a bit the accnt seq and key-seed code Update signed_header.json with valid signed header Hardcode cosmos ics23 specs for create client msg Remove ics07 messages Fix create client params and filling Impl domain type for MsgUpdateAnyClient Add update client CLI Impl domain type for ics02 AnyHeader and ics07 Header Add type-url constants Make changes to compile Use local tendermint-rs based on Greg's branch * Switch to tendermint repo branch * restructure and cleanup * move client message builder to chain * move conn init message builder to chain * Implement get_sign_bytes() in Msg trait, add to_any() and type_url() * cleanup * add forgotten test_utils * Better error handling in ibc::address * Formatting * Add missing Eq bounds where possible * rearrange the conn-init positional params and the chain handling * review comments * Move the client msg builder out of chain * Split client msgs * Move unbonding_period to impl CosmosSDK * Updated changelog * Fix for upstream changes (optional version in consensus::Params). Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Adi Seredinschi <adi@informal.systems>
Closes: #277 informalsystems/ibc-rs#103
Description
Here is a summary of the changes:
greg/research-json
where the tendermint changes for stargate-4 are and tendermint domain types are implemented for the IBC dependencies (validator set, consensus params, etc)address.rs
Chain
vsimpl Chain for CosmosSDK
vsimpl CosmosSDK
. I guess these would move to theChainHandle
but the approach should be the same.TODO:
msgs.rs
file before merging. -> deferred to Update sp-runtime requirement from 14.0.0 to 15.0.0 in /ci/no-std-check ibc-rs#367For contributor use:
docs/
) and code comments.Files changed
in the Github PR explorer.