You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling grpc method GetTxsEvent, error logs are always empty. You only include ABCILogs in the types.TxResponse, so if log is an error string then it's never part of the response. Might need to add RawLog field?
using rpc /tx_search?query="tx.height=5201364" I can see the error log as string (whereas this error is completely missing in grpc response):
"tx_result": {
"code": 5,
"data": null,
"log": "failed to execute message; message index: 0: failed to delegate; 4044574uatom is smaller than 4047074uatom: insufficient funds",
"info": "",
"gas_wanted": "250000",
"gas_used": "78452",
"events": [],
"codespace": "sdk"
},
Version
v0.41.3
Steps to Reproduce
github.com/cosmos/cosmos-sdk/types/tx
Create a tx.NewServiceClient(cli) where cli is a *grpc.ClientConn to a cosmoshub-4 node. Call GetTxsEvent with service client for a height with a known error, something like:
Summary of Bug
When calling grpc method
GetTxsEvent
, error logs are always empty. You only include ABCILogs in the types.TxResponse, so if log is an error string then it's never part of the response. Might need to addRawLog
field?from here
using rpc
/tx_search?query="tx.height=5201364"
I can see the error log as string (whereas this error is completely missing in grpc response):Version
v0.41.3
Steps to Reproduce
github.com/cosmos/cosmos-sdk/types/tx
Create a
tx.NewServiceClient(cli)
where cli is a*grpc.ClientConn
to a cosmoshub-4 node. CallGetTxsEvent
with service client for a height with a known error, something like:I expect to see the error message in
types.TxResponse
For Admin Use
The text was updated successfully, but these errors were encountered: