Skip to content

Not receiving events for secondary tags #2779

@fumecow

Description

@fumecow

Tendermint version (use tendermint version or git rev-parse --verify HEAD if installed from source):
0.25.0-0c9c3292

Environment: LotionJS

  • OS (e.g. from /etc/os-release): Linus
  • Install tools: npm

What happened:

When a transaction is returned from DeliverTx with multiple tags of the same keys but different values, only the last tag will generate events for subscription listeners.

What you expected to happen:
Should be able to subscribe to any of the key / value pairs.

Have you tried the latest version: yes

How to reproduce it (as minimally and precisely as possible):

Generate a transaction with tags

 [ { key: "myTag", value: "foo" }, { key: "myTag", value: "bar" }]

A subscription with query = myTag='foo' will not get any events, while a subscription for myTag='bar' will get events. Both tags can be searched using tx_search, however.

Config (you can paste only the changes you've made):
index_all_tags set to true in config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T:bugType Bug (Confirmed)

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions