Document Forno's eth_getLogs 5,000-block limit and how to read longer history

Aperta Adatta ai principianti
#2,458 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

@szapelao ci sta già lavorando.

Dal 23/11/2026.

  • #2459 di @szapelao — aperta

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
86/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown
Ambito
documentation

Direzione di ricerca

Parti da /build/tools/nodes/forno e aggiungi il limite di 5.000 blocchi della mainnet, l’errore esatto -32602, la differenza di 50.000 blocchi di Celo Sepolia e le route SQD/Chainstack per una cronologia più lunga. Verifica l’esempio SQD così com’è scritto, poi aggiorna /build/tools/indexers/overview per elencare SQD e /build/tools/nodes/overview per annotare l’accesso per richiesta di Chainstack tramite buy. Concludi eseguendo mint broken-links e controllando gli elementi della definition-of-done.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

chore priority:medium status: triage
What needs to be done?

The Forno page states the eth_getLogs range limit and lists ways to read a longer history, and SQD appears in the indexer list.

Today no page in the docs mentions the limit. On Celo mainnet, Forno rejects any eth_getLogs range over 5,000 blocks, while Celo Sepolia accepts 50,000, so code tested on testnet fails on mainnet. Two routes through the buy gateway read longer ranges (SQD with no payment; Chainstack at $0.01 per batch of up to 2,000 calls), and SQD is not in /build/tools/indexers/overview.

Evidence, 2026-11-23:

  • Forno mainnet, 5,000 blocks: {"jsonrpc":"2.0","result":[],"id":1}. 5,001 blocks: {"jsonrpc":"2.0","error":{"code":-32602,"message":"query exceeds range, retry smaller (max block range 5000, got 5001)"},"id":1}
  • Forno Celo Sepolia, 50,000 blocks: {"jsonrpc":"2.0","result":[],"id":1}
  • SQD through https://gateway.usebuy.ai/sqd/datasets/celo-mainnet/stream, USDC Transfer, blocks 83,400,000 to 83,450,000: 2,349 logs in one request, no payment. Over blocks 83,400,000 to 83,405,000, its 219 logs equal Forno's 219. The upstream answered 529 on most first attempts.
  • Chainstack through https://gateway.usebuy.ai/chainstack/celo: 402 for $0.01 per batch of up to 2,000 calls. A paid batch (tx 0x4d4eba7c38f95cd6d29c281e708fcee46ff00591c906e833ee84764032847ff0) returned logs for 5,001 blocks and -32602 Block range limit exceeded for 50,000 and 500,000.

Same change in the Celopedia skill: celo-org/celopedia-skills#119.

Definition of done
  • /build/tools/nodes/forno has an eth_getLogs block range limit section with the exact error, the Celo Sepolia difference and the routes for longer history
  • The SQD example on that page runs as written
  • /build/tools/indexers/overview lists SQD
  • The Chainstack entry in /build/tools/nodes/overview mentions per-request access through buy
  • mint broken-links passes
Priority

medium

Size

S — hours

Lingua principale
MDX
Stelle
90
Fork
398
Merge medio
4g 22h
PR unite (30g)
22

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di celo-org/docs

Tutte le issue di celo-org/docs

Issue simili

Altre issue su Documentation

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.