-
Notifications
You must be signed in to change notification settings - Fork 390
Closed
Labels
I: CLIInternal: related to the relayer's CLIInternal: related to the relayer's CLII: logicInternal: related to the relaying logicInternal: related to the relaying logic
Milestone
Description
Summary
The relayer needs to perform different types of queries. Some of them are partially implemented.
Problem Definition
The following queries need to be implemented. All should allow for height
and prove
parameters to indicate the height of the query and whether a proof is required.
Queries required for the relayer:
On start:
- query client state (NOTE: this has TM data) - query ClientState given client id cosmos/ibc-proto-rs#21
- query connections per client - query connections given client id #151
- query channels per connection - Query channels per connection #505
- query per (channel, port) for send and recv sequence numbers for ordered channels
- query unrelayed acks for unordered channels - Implement Packet lifecycle in relayer v0 #379
- query all packet commitments for (channel, port) - Implement Packet lifecycle in relayer v0 #379
For IBC Event:
- query client consensus state (NOTE: this has TM data) - query ConsensusState given client id and height ibc-rs#129
- query connection given connection_id -query connection given connection_id #130
- query channel given channel_id - query channel given channel id and port id ibc-rs#130
- query packet commitment - Implement Packet lifecycle in relayer v0 #379
For a list of query paths to fetch this data from the abci app, see https://github.com/cosmos/ics/tree/master/spec/ics-024-host-requirements#path-space
Various:
-
unbonding_period
from the Cosmos staking module
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
brapse
Metadata
Metadata
Assignees
Labels
I: CLIInternal: related to the relayer's CLIInternal: related to the relayer's CLII: logicInternal: related to the relaying logicInternal: related to the relaying logic