graphprotocol / graphprotocol/graph-node
lastHealthyBlock is never populated
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 3.2k
- Fork
- 1.1k
- Merge medio
- 4g 1h
- PR unite (30g)
- 1
Descrizione
Do you want to request a feature or report a bug?
Not sure. Seems like a bug to me
What is the current behavior?
For all the subgraphs I have deployed so far, I have never seen lastHealthyBlock be anything other than null. Not sure if that's supposed to happen and if yes then why is the key in the first place?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
- Deploy the gravatar subgraph from the docs
- Run the following query
req := graphql.NewRequest(`
query {
indexingStatuses {
subgraph
synced
health
entityCount
node
fatalError
nonFatalErrors
chains {
network
chainHeadBlock { number }
earliestBlock { number }
latestBlock { number }
lastHealthyBlock { number }
}
}
}
`)
- Notice that
lastHealthyBlockisnull
What is the expected behavior?
That lastHealthyBlock should be populated
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Riproduci il report distribuendo il subgraph gravatar ed eseguendo la query indexingStatuses fornita. Traccia come vengono prodotti i campi di stato della chain, in particolare lastHealthyBlock, e confronta tale comportamento con il valore popolato previsto. Conferma il risultato con la stessa query dopo la modifica.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- graphql, rust
- Ambito
- api, backend, blockchain
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100