Skip to content

Commit ecae305

Browse files
authored
Merge pull request #614 from tablelandnetwork/bcalza/ethlogs2
adds new eth logs check
2 parents ae77c65 + 09a79c0 commit ecae305

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/eventprocessor/eventfeed/impl/eventfeed.go

+1
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ func (ef *EventFeed) Start(
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") ||
183183
strings.Contains(err.Error(), "eth_getLogs is limited to a 5 range") ||
184+
strings.Contains(err.Error(), "eth_getLogs is limited to a 10,000 range") ||
184185
strings.Contains(err.Error(), "block range is too wide") {
185186
ef.maxBlocksFetchSize = ef.maxBlocksFetchSize * 80 / 100
186187
} else {

0 commit comments

Comments
 (0)