tendermint/abci

grpc proto errors

ebuchman opened this issue · 3 comments

In bash tests/test.sh output:

----------------------
RUN COUNTER OVER GRPC
Running counter --abci=grpc test with abci=grpc
I[02-03|07:39:53.531] Starting ABCIServer                          module=abci-server impl=ABCIServer
I[02-03|07:39:53.532] Listening                                    module=abci-server proto=tcp addr=0.0.0.0:46658
I[02-03|07:39:53.541] Starting grpcClient                          module=abcicli impl=grpcClient
I[02-03|07:39:53.542] Dialed server. Waiting for echo.             module=abcicli addr=tcp://127.0.0.1:46658
proto: no slice oenc for *reflect.rtype = []*reflect.rtype
proto: no encoder for Tags []common.KVPair [GetProperties]
I[02-03|07:39:53.547] Stopping grpcClient                          module=abcicli impl=grpcClient
----------------------

also met the same problem,when i am trying to implement a c# version. the proto file compiles well but left me with some references unsolvled, including the common.KVPair and common.KI64Pair which are not defined but seemingly seen defined in TMlib project. "gogoproto" class or package is nowhere to find as well.

Are you using include flags when you compile ? eg like https://github.com/tendermint/abci/blob/master/Makefile#L23

Seems to be some kind of issue between gogo and grpc (seems to work fine when using normal socket, not grpc).

@liamsi @odeke-em any ideas?

Also wondering if tendermint/tendermint#1530 is related