graphprotocol / graphprotocol/graph-node
[Bug] Cannot get info of chain
Open
Nobody has claimed this yet.
bug
Stale
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
Bug report
graphman chain info <name> does not seem to work and complains of a missing parent hash. I'm running v0.32.0.
Relevant log output
root@goldskyraw-indexer-0-graph-node-5dd9464b5b-26n7g:/# graphman chain info mainnet
Error: missing field `parentHash`
root@goldskyraw-indexer-0-graph-node-5dd9464b5b-26n7g:/# graphman chain info matic
Error: missing field `parentHash`
IPFS hash
No response
Subgraph name or link to explorer
No response
Some information to help us out
- Tick this box if this bug is caused by a regression found in the latest release.
- Tick this box if this bug is specific to the hosted service.
- I have searched the issue tracker to make sure this issue is not a duplicate.
OS information
None
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the graphman chain info command and reproduce the reported failure against a chain such as mainnet or matic. Trace where the chain response is parsed and determine what completed behavior should replace the missing parentHash error; done means the command returns chain information successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100