-
Notifications
You must be signed in to change notification settings - Fork 79
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
use ibc_proto::protobuf::Protobuf to replace tendermint_proto::Protobuf. #754
Conversation
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.
Just a few nits, otherwise LGTM 🙏
@@ -117,9 +117,7 @@ where | |||
&msg.proof_consensus_state_of_a_on_b, | |||
consensus_state_of_b_on_a.root(), | |||
Path::ClientConsensusState(client_cons_state_path_on_b), | |||
expected_consensus_state_of_a_on_b | |||
.encode_vec() | |||
.map_err(ConnectionError::ConsensusStateEncodeFailure)?, |
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.
Would you remove the ConsensusStateEncodeFailure
from the errors? It's no longer needed.
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.
fixed
@@ -0,0 +1,2 @@ | |||
- Tendermint ConsensusState -> Any can crash if out of memory |
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.
Would you also add a unclog for the own PR under breaking-changes
, so we can track the encode_vec
signature change too?
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.
fixed
…:protobuf::Protobuf (cosmos#754)
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #754 +/- ##
==========================================
- Coverage 73.21% 73.20% -0.01%
==========================================
Files 125 125
Lines 16085 16082 -3
==========================================
- Hits 11776 11773 -3
Misses 4309 4309
☔ View full report in Codecov by Sentry. |
Closes: #747
Description
PR author checklist:
unclog
.docs/
).Reviewer checklist:
Files changed
in the GitHub PR explorer.