Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Alchemy eth_getLogs block window changes #4482

Open
mikeshultz opened this issue Jun 11, 2020 · 1 comment
Open

Alchemy eth_getLogs block window changes #4482

mikeshultz opened this issue Jun 11, 2020 · 1 comment
Assignees
Labels
event-cache @origin/event-cache package eventsource @origin/eventsource listener Event listener P1 Large amount of significant user impact, a meaningful feature is broken

Comments

@mikeshultz
Copy link
Member

Alchemy is enforcing a largest block window of 1000 blocks for eth_getLogs requests. Right now, it looks like EventCache defaults to 10000.

This probably requires a code change. Change needs to be made and deployed before 6/22/2020.

CC: @franckc

@mikeshultz mikeshultz added listener Event listener P1 Large amount of significant user impact, a meaningful feature is broken eventsource @origin/eventsource event-cache @origin/event-cache package labels Jun 11, 2020
@mikeshultz mikeshultz self-assigned this Jun 11, 2020
@mikeshultz
Copy link
Member Author

async function(instance, fromBlock, toBlock, batchSize = 10000) {

this.batchSize = conf.batchSize || 10000

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
event-cache @origin/event-cache package eventsource @origin/eventsource listener Event listener P1 Large amount of significant user impact, a meaningful feature is broken
Projects
None yet
Development

No branches or pull requests

1 participant