Skip to content

GetTxsEvents query non-equals comparisons are blocked #14727

@joe-bowman

Description

@joe-bowman

Summary of Bug

The GetTxsEvents endpoint expects all events will contain a = comparison, even though Tendermint itself supports >, >=, <, <= comparisons (indeed, the node.TxSearch comment specifies "tx.height > 5" as an example).

Version

v0.46.x

Steps to Reproduce

Submit a GetTxsEvents request, containing "tx.Height>5" and Cosmos rejects it for not matching the format "x.x=y", despite this being a valid event from Tendermint's PoV.

EventRegex = regexp.MustCompile(`^[a-zA-Z_]+\.[a-zA-Z_]+=\S+$`)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions