Skip to content

rpc: WebSocket client cannot parse Tx events #1003

Closed
@thomas-nguy

Description

This error occurs only with Ethermint message which add a log event there

https://github.com/tharsis/ethermint/blob/main/x/evm/keeper/msg_server.go#L58

The websocket is unable to receive the tx result. I am assuming it is related to deserialization.

I managed to narrowed down the issue to those line

https://github.com/informalsystems/tendermint-rs/blob/master/rpc/src/event.rs#L75
https://github.com/informalsystems/tendermint-rs/blob/master/tendermint/src/abci/tag.rs#L50

And if I remove

    #[serde(
        serialize_with = "base64string::serialize",
        deserialize_with = "base64string::deserialize_to_string"
    )]

from the tag's Values, then it fixes the issue (I can see the tx from websocket)

Any idea how this could be fixed in a clean way?

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions