graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

[Bug] Cannot get info of chain

Open paymog opened this issue 2 years ago • 9 comments

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.
  • [X] I have searched the issue tracker to make sure this issue is not a duplicate.

OS information

None

paymog avatar Oct 10 '23 10:10 paymog

Hey @paymog , is there any additional steps for reproducing this? Im not able to reproduce this.

incrypto32 avatar Oct 17 '23 12:10 incrypto32

Unfortunately I don’t know how to reproduce either 😕

paymog avatar Oct 18 '23 07:10 paymog

Defenetly wierd, but i wonder whats happening. This was working before 0.32 right?

incrypto32 avatar Oct 24 '23 14:10 incrypto32

Defenetly wierd, but i wonder whats happening. This was working before 0.32 right?

I never tried this in an older version so I'm not sure 🙁

paymog avatar Oct 24 '23 15:10 paymog

@paymog are you using a Firehose or an RPC for the block ingestor?

azf20 avatar Oct 25 '23 09:10 azf20

@paymog are you using a Firehose or an RPC for the block ingestor?

I'm using firehose for the two chains in the original example

paymog avatar Oct 25 '23 10:10 paymog

This bug can be reproduced on a chain synching entirely using Firehose.

graphman chain info matic
Error: missing field `parentHash`
graphman chain info mainnet
Error: missing field `parentHash`

It must be related to how the blocks are stored when using firehose ingestor: the graphman assumes there will be data that is inexistent.

sduchesneau avatar Jan 05 '24 18:01 sduchesneau

thanks @sduchesneau - @incrypto32 do you know if we store the parentHash with a Firehose block ingestor, or might that be the source of the issue?

azf20 avatar Feb 02 '24 15:02 azf20

Looks like this issue has been open for 6 months with no activity. Is it still relevant? If not, please remember to close it.

github-actions[bot] avatar Aug 01 '24 00:08 github-actions[bot]