eth/filters: raise maxAddresses to 1000

This commit is contained in:
zsfelfoldi 2025-07-01 08:05:39 +02:00
parent 7ff1e9a2be
commit 64d7c42c0b

View file

@ -43,14 +43,14 @@ var (
errExceedMaxAddresses = errors.New("exceed max addresses")
)
// The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0
const maxTopics = 4
// The maximum number of allowed topics within a topic criteria
const maxSubTopics = 1000
// The maximum number of addresses allowed in a filter criteria
const maxAddresses = 100
const (
// The maximum number of addresses allowed in a filter criteria
maxAddresses = 1000
// The maximum number of topic criteria allowed, vm.LOG4 - vm.LOG0
maxTopics = 4
// The maximum number of allowed topics within a topic criteria
maxSubTopics = 1000
)
// filter is a helper struct that holds meta information over the filter type
// and associated subscription in the event system.