Skip to content

Add configuration to set the batch size for retrieving logs from L1 #14541

@PhilWindle

Description

@PhilWindle

Had this request from external users.

Hey Pedro, 
we have received feedback from the Aztec community members that your application is making eth_getLogs requests for more than 5000 blocks, which results in errors.
We cannot increase this limit, as it would affect the stability of the node pool. Other RPC providers have similar restrictions. 
Could you optimize the application to make the block range for eth_getLogs a configurable option? So requests exceeding this number could be split into multiple eth_getLogs requests.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions