if you need to do 10-20k blocks, you should do them with multiple requests and each request with a maximum of 2k block, there was this restriction with maximum 2k nodes added few days ago
Hey @cryptokid this issue is not going away. We went back to using Infura.
Now the error message changed to: Error: Invalid JSON RPC response: “fromBlock must be less than or equal to toBlock”
what where the parameters from when you got that error? it looks like fromBlock was greeter than toBlock from that error message
and you say that you got that fromBlock must be less than or equal to toBlock
error message when you have more than 2k blocks range or for any range or in other case?
Yeah we tried a smaller block range and it gave this error anyways. But after manually setting the toBlock to latest block (by fetching latest block number) it was working fine. As per web3js documentation, it should sync up to latest block by default.