-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Stride ICQ #1076
Stride ICQ #1076
Conversation
80b0ac1
to
b45d594
Compare
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.
I went through this and compared a lot of the new code relevant to ICQ to other components that operate mostly the same (e.g. the client and packet messages/caches) and everything looked good. Couple comments but nothing major.
Do we have test cases for this ICQ implementation in ibctest
? If so, would it be favorable to bring them in so we can also run those in CI? With this being a new major feature I think it would be nice to have some test coverage somewhere.
Yes, the test exists in strangelove-ventures/interchaintest#273, but it tests more than is required here. I brought in the ICQ test and slimmed it down to a single validator for the relayer. |
Thanks for that! Adds some peace of mind that future changes to the relayer won't break support for this feature. |
Cross-chain ICQ support was added to the go-relayer in cosmos/relayer#1076 on January 31, 2023.
* Add ICQ and Cross-chain queries to Features Matrix. Cross-chain ICQ support was added to the go-relayer in cosmos/relayer#1076 on January 31, 2023. * Fix feature matrix --------- Co-authored-by: Luca Joss <luca@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com>
Continuation of #954. Most of the commits there have been merged into main as this functionality was being implemented.
Implements Stride's ICQ implementation, which consists of:
MsgSubmitQueryResponse
messageMsgUpdateClient
The relayer handles correlation of client ICQ messages in the
PathProcessor
in a similar way as the handshake and packet flow messages.Brings in proto-gen capabilities, required for generating the
MsgSubmitQueryResponse
protos to use it as a cosmosMsg
.This removes the dependency on the stride repository, and in doing so removes the need for ibc-go to be on the same major version (and potentially other deps).
This allows Stride's ICQ implementation to exist in the relayer without impact, other than
len
checks, for relaying non-Stride.