greenlucid / vagarish

Search engine for Kleros
2 stars 0 forks source link

Infura error fetching more than 10000 events #10

Closed greenlucid closed 3 years ago

greenlucid commented 3 years ago

When running npm run init to initialize / refresh events, Infura refuses to send the events if their number exceeds 10000. This is likely because PoH surpassed 10000 submissions. Solution will be to make an auxiliary method that fetches events, that will request events in smaller batches in case the 10000 error is returned. Vagarish will be unable to update evidence / fix bugged evidence until this is fixed