Skip to content

DuplicateVoteEvidence json serialization uses mixed-casing #3528

@benluelo

Description

@benluelo

DuplicateVoteEvidence is missing json tags on 3 of it's fields, causing some of the fields to be serialized as PascalCase:

TotalVotingPower int64
ValidatorPower int64
Timestamp time.Time

looks like this was addressed previously in tendermint (tendermint/tendermint#4959), but new fields have been added since which do not have the tags tendermint/tendermint@9d354c8#diff-cb290f27b7c170773cbdcfce4b7b612bd82bc7cf16a1d74c923f1c53462f49e5R39-R42

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingevidence

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions