Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

GRPCClient for invoking gRPC server #108

Open
pharr117 opened this issue Mar 4, 2022 · 1 comment
Open

GRPCClient for invoking gRPC server #108

pharr117 opened this issue Mar 4, 2022 · 1 comment
Labels
Type: Bug 🪲 Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@pharr117
Copy link

pharr117 commented Mar 4, 2022

Hello, I am using lens as a Go package to build an indexer, and I have a requirement to use the gRPC server over the RPC server. I see you may have started to add gRPC client support in some areas, but when I try to use the GRPCAddr in ChainClientConfig and call Invoke one of the gRPC methods, I believe it is still trying to reach out to the RPC server instead because it gives me an

rpc error: code = Unknown desc = unknown query path: unknown request

error.

Is gRPC querying to the gRPC server not supported? And if not, is this something that will be available in the future? Thanks!

@andynog
Copy link
Contributor

andynog commented Mar 6, 2022

The idea is to support gRPC as default, but some refactoring needs to happen first. The gRPC support would be through some logic integration dynamic Cosmos I believe

@boojamya boojamya added the Type: Bug 🪲 Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug 🪲 Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

3 participants