cosmos / relayer-archive

An example of a server side IBC relayer to be used for Game of Zones and beyond
56 stars 31 forks source link

Implement IBC Queries #19

Closed jackzampolin closed 4 years ago

jackzampolin commented 4 years ago

The following queries for IBC need to be implemented on the relayer. All of these queries should also return proofs. They will be mainly useful for use in tx commands (as a way to query the chain for the necessary on-chain data) but should also be exposed to the user:

cwgoes commented 4 years ago

As these queries require proofs, they must all be direct store queries and can be performed using the existing store query logic, so no additional modifications are needed on the SDK side, correct?

jackzampolin commented 4 years ago

@cwgoes thats the plan, and the way it is currently implemented. All queries from the relayer return proofs. See QueryConnection https://github.com/cosmos/relayer/blob/master/relayer/query.go#L153

jackzampolin commented 4 years ago

Currently we are debugging the proofs not returning properly

cwgoes commented 4 years ago

Closing in favour of https://github.com/iqlusioninc/relayer/issues/30