Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

EQS: Limit the block span of GetLogs RPC requests #991

Open
peekpi opened this issue Apr 23, 2022 · 0 comments
Open

EQS: Limit the block span of GetLogs RPC requests #991

peekpi opened this issue Apr 23, 2022 · 0 comments

Comments

@peekpi
Copy link

peekpi commented Apr 23, 2022

When EQS fetches contract events, it requests all events from block 0 to the latest block at once.
If the latest block number is very large or it has too many events, this request may be rejected by the node and the service will not start.
So it is recommended to start the query from the block which the contract deployed and limit the number of blocks per query.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants