Skip to content

Commit ae77c65

Browse files
authored
Merge pull request #613 from tablelandnetwork/bcalza/newethlogs
adds new eth log message check
2 parents e037c20 + 230a840 commit ae77c65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/eventprocessor/eventfeed/impl/eventfeed.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ func (ef *EventFeed) Start(
180180
strings.Contains(err.Error(), "eth_getLogs and eth_newFilter are limited to a 10000 blocks range") ||
181181
strings.Contains(err.Error(), "range between to and from blocks is too large") ||
182182
strings.Contains(err.Error(), "getMultipleAccounts, eth_getLogs, and eth_newFilter are limited to a 5 range") ||
183+
strings.Contains(err.Error(), "eth_getLogs is limited to a 5 range") ||
183184
strings.Contains(err.Error(), "block range is too wide") {
184185
ef.maxBlocksFetchSize = ef.maxBlocksFetchSize * 80 / 100
185186
} else {

0 commit comments

Comments
 (0)