graphprotocol / graphprotocol/graph-node
lastHealthyBlock is never populated
まだ誰も着手していません。
- 主要言語
- Rust
- スター
- 3.2k
- フォーク
- 1.1k
- 平均マージ
- 4日 1時間
- マージ済み PR(30日)
- 1
説明
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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
gravatar subgraph をデプロイし、提供された indexingStatuses クエリを実行して報告を再現します。chain のステータスフィールド、特に lastHealthyBlock がどのように生成されるかを追跡し、その動作を期待される値が設定された状態と比較します。変更後に同じクエリで結果を確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- graphql, rust
- 領域
- api, backend, blockchain
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 30/100