-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
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.