informalsystems / tendermint-rs

Client libraries for Tendermint/CometBFT in Rust!
Apache License 2.0
588 stars 215 forks source link

tendermint: allow null in `EventAttribute` kv JSON #1376

Closed mzabaluev closed 7 months ago

mzabaluev commented 7 months ago

Fixes #1375

When deserializing EventAttribute values, allow null values in the key and value fields. This follows the behaviour in 0.34 RPC (where the key-value data were also base64-encoded), but technically breaks the serde schema of everything that includes ABCI event data.

mzabaluev commented 7 months ago

The coverage failure should be fixed by #1377.