Skip to content
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

tendermint: allow null in EventAttribute kv JSON #1376

Merged
merged 3 commits into from
Nov 10, 2023

Conversation

mzabaluev
Copy link
Contributor

@mzabaluev mzabaluev commented Nov 9, 2023

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.

  • Referenced an issue explaining the need for the change
  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Added entry in .changelog/

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 mzabaluev marked this pull request as ready for review November 9, 2023 10:48
@mzabaluev
Copy link
Contributor Author

The coverage failure should be fixed by #1377.

@mzabaluev mzabaluev merged commit 67354dd into main Nov 10, 2023
23 checks passed
@mzabaluev mzabaluev deleted the mikhail/allow-null-in-event-attributes branch November 10, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The null value field of EventAttribute should be allowed
2 participants