hermes icon indicating copy to clipboard operation
hermes copied to clipboard

Use gRPC to query Cosmos SDK chain states

Open soareschen opened this issue 3 years ago • 2 comments

Crate

relayer

Summary

This is a follow up to #1048. Since we can do height-based gRPC query through the x-cosmos-block-height parameter, we can refactor other queries such as query_channel to use the gRPC endpoints instead of the Tendermint RPC endpoint.


For Admin Use

  • [ ] Not duplicate issue
  • [ ] Appropriate labels applied
  • [ ] Appropriate milestone (priority) applied
  • [ ] Appropriate contributors tagged
  • [ ] Contributor assigned/self-assigned

soareschen avatar Jun 14 '21 13:06 soareschen

We'll be able to increasingly use gRPC now with the recent changes adding gRPC support for ABCI queries in the SDK https://github.com/cosmos/cosmos-sdk/pull/11642

adizere avatar May 09 '22 07:05 adizere

Relevant comment by @ancazamfir.

plafer avatar May 17 '22 20:05 plafer