No args (and other info) when using multiple-topics filter, but exist when topic is empty
See original GitHub issueIf I specify multiple topics for filter, args, event, eventSignature and decode are gone. Here is what I tried so far:
This doesn’t work (I don’t get any events at all):
const filter = {
address: contract.address,
topics: [
[ utils.id("CustomEvent(string,bool)") ],
[ utils.id("CustomEventB(string,bool,string)") ],
[ utils.id("CustomEventA(string,bool,bool,string)") ],
],
null,
],
};
This following gets the event, but with args and other info mentioned above are gone:
const filter = {
address: contract.address,
topics: [
[
utils.id("CustomEvent(string,bool)"),
utils.id("CustomEventB(string,bool,string)"),
utils.id("CustomEventA(string,bool,bool,string)"),
],
null,
],
};
The following works:
const filter = {
address: contract.address,
topics: [],
};
The last one get me all info of an event, but it basically doesn’t apply any filtering.
At first I thought it was because I was doing event overloading, or somehow related to this issue #1031, so I renamed the overloading events, but still the same issu.
Me thinking that if all the info exist when no filtering, the should also exist when filtering, right? Or I’m missing something?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Chapter 4. Kafka Consumers: Reading Data from Kafka
If we add more consumers to a single group with a single topic than we have partitions, some of the consumers will be...
Read more >django-filter messing around with empty field - Stack Overflow
I think documentation answers your question: Filtering by an empty string. It's not currently possible to filter by an empty string, ...
Read more >Kafka Topics CLI Tutorial | Learn Apache Kafka with Conduktor
How to create, delete, describe, or change a Kafka topic using the command line interface. ... To avoid issues it is best to...
Read more >KafkaConsumer (kafka 2.4.0 API)
A client that consumes records from a Kafka cluster. This client transparently handles the failure of Kafka brokers, and transparently adapts as topic...
Read more >Spring Cloud Stream Kafka Binder Reference Guide
Unknown Kafka producer or consumer properties provided through this configuration are filtered out and not allowed to propagate. Properties here supersede any ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks @zemse. I’ll look into this shortly.
Yup it does make sense. Thanks, looking forward to v6!