-
Notifications
You must be signed in to change notification settings - Fork 357
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
Some cleanup (followup to protobuf dedup) #509
Conversation
Codecov Report
@@ Coverage Diff @@
## master informalsystems/hermes#509 +/- ##
=========================================
+ Coverage 13.6% 41.1% +27.4%
=========================================
Files 69 133 +64
Lines 3752 8344 +4592
Branches 1374 0 -1374
=========================================
+ Hits 513 3434 +2921
- Misses 2618 4910 +2292
+ Partials 621 0 -621
Continue to review full report at Codecov.
|
@cezarad and @vitorenesduarte if you have a chance to look over this, any thoughts would be appreciated! |
// Verify that the error kind matches | ||
if let Some(expected_kind) = test.error_kind { | ||
assert_eq!( | ||
&expected_kind, | ||
e.kind(), | ||
"conn_open_ack: expected error kind mismatches thrown error kind" | ||
) | ||
} |
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.
👍
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.
Looks good! Thanks Adi!
* MsgConnectionOpenAck test cleanup * Quick fix for #513. * Better error msgs & frozen client check. * UPdated changelog
Closes: cosmos/ibc-rs#107
Closes: cosmos/ibc-rs#96
Fixes for these two problems:
MsgConnectionOpenAck includes a new field counterparty_connection_id. Some minimal changes were done to handle this as part of Tendermint protobuf dependency for IBC proto #292 but tests need to be added. Also, the test infrastructure here is very hard to follow, maybe some cleanup would be nice
store_client_type
is never used and can be confusing (based on discussion with @CharlyCst) -- ClientType is never stored on 'create-client' cosmos/ibc-rs#96Deferred issues that will be handled later:
tendermint ClientState has new fields proof_specs that is currently ignored.-> will be handled together in Follow-up to migration work #469 (because it depends on re-enabling client tests)For contributor use:
docs/
) and code comments.Files changed
in the Github PR explorer.