getPastEvents() limit of 100K blocks on Arbitrum Rinkeby

When on Arbitrum Rinkeby calling

mycontract.getPastEvents(getPastEvents('allEvents', {fromBlock: 7527126, toBlock: await web3.eth.getBlockNumber()}))

using web3 I get the following error:

code: -32005,
message: 'eth_getLogs block range too large, range: 595692, max: 100000'

Are there any limits set for Arbitrum Rinkeby on Infura side?

1 Like

Hi @nico77

The limit of 100k is on all L2s for now, our team currently working on improvements and enhancements of such functions.

Thank you very much @Flaviu for your swift response. How can I find out once it’s done?