-
Notifications
You must be signed in to change notification settings - Fork 352
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
MVP Client Relayer: Periodic Client Updates #216
Comments
* merge master * Move and adapt the two chain client update test to ics26 * Added basic ICS18 method + context mock for testing. Should fix for #216 (local part). * change the APIs to look closer to what the realyer will use * move the context update and chain advance in new .recv() * Cleanup for ICS26 and ICS18 * Fix for awkward ClientKeeper setters * fix the chain mock context tests Co-authored-by: Anca Zamfir <[email protected]>
At this point we have basic relayer functionality running. But that does not include updating clients in the absence of transactions requiring client updates. I believe it is still useful to have some test command that just updates clients on every I am changing the milestone for this to V1. |
Duplicate of #786, closing in favour of that. |
MVP of a relayer should be something that is configured for two existing chains, with clients already existing on them, and just relays ClientUpdate datagrams back and forth. We should target two versions of this: local chain and cosmos sdk chain.
Local Chain
It may be best to start by integrating against a local chain (#158) using using our own ics02/07 handlers (#159) and tendermint light client (#90). This shouldn't require any signing or block on any dependencies (can use v0.16 series of tendermint-rs).
This will allow in process testing with minimal dependencies and shouldnt require waiting for tendermint-rs to update to tendermint v0.34.
-> This is further decomposed and tracked in #381
Cosmos SDK Chain
Then to get it working against a real chain will require updating to the latest tendermint-rs post compatibility with Tendermint v0.34 and will target the latest version of the Cosmos SDK (still unreleased Stargate). Signing will depend on #47 and should just go with whatever is simplest, though note the relayer key's address will need to have an account on both chains. This will also involve updating to the new tendermint websocket API and using that for event subscriptions.
Merkle proofs can be ignored by the relayer for now - in the MVP we can just trust the full nodes.
The text was updated successfully, but these errors were encountered: