New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Events in log field are merged in an unintended fashion #9595
Comments
Hey! I believe this issue should be filed against the Cosmos SDK. Tendermint accepts the Event and Log information in the DeliverTx response from the application in the response to the I'm not certain how the SDK puts the response together, but in BaseApp.DeliverTx I do see it setting the Log and Events. |
Since this appears to be an SDK issue, I'm going to close. Please re-open if this is incorrect. |
Cosmos-sdk sends events by tx not grouped with each other, this was an issue with tendermint before as well. It might have been reverted |
The bug is in the |
its in runTx, we append the events to a string. A bit lost since we append events not based on attribute. |
Hi there! I seems like the JSON string in the
tx_result.log
field is wrong.In the following you see 19 events
However, when looking at the
log
field, the encoded JSON document only has 4 events:As you can see for the
"type": "execute"
, multiple events get merged into one event:The full JSON outputs can be found at https://gist.github.com/webmaster128/14d273b3b462c1c653f51e3e1edb8cd5.
The issue leads to problems with the relayer (ts-relayer in my case). It reads the
log
but then only finds one packet to send, not all of them.I'm posting it here as this is what I'm for different event types using Tendermint RPC (Juno, Tendermint 0.34.x). Let me know if it is an issue on a different place in the stack.
The text was updated successfully, but these errors were encountered: