vocdoni / census3

Golang library and a HTTP/API service that can be used to fetch an updated list of token holders for a Ethereum ERC20, ERC721, ERC777, or other external providers (ex. POAPs or GitcoinPassport).
GNU Affero General Public License v3.0
9 stars 2 forks source link

bug: new error with some rpc endpoints #175

Closed lucasmenendez closed 8 months ago

lucasmenendez commented 8 months ago

Error trace [sepolia]:

2024-03-15T12:58:53.328Z ERR scanner/scanner.go:143 > error scanning token logs
0x53844F9577C2334e541Aec7Df7174ECe5dF1fCf0: 400 Bad Request: {"jsonrpc":"2.0","id":1,"error":{"code":-32600,"message":"Response size is larger than 150MB limit"}}

A possible solution could be handle this error and decrease the logs chunk size like too many logs requested error.