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

[Bug] Failed to decode `block.number` value: `subgraph ... has only indexed up to block number ... and data for block number ... is therefore not yet available

Open EG-easy opened this issue 1 year ago • 2 comments

Bug report

Hi, I'm relatively new to the graph project, and try to deploy subgraph to the graph studio.

Environment Version

graph-cli: 0.51.2
graph-ts: 0.31.0

What is the problem ?

We deployed a subgraph to the graph studio on polygon(matic) mainnet. We found that it won't sync to the latest block even we wait for a week, always behind 100-200 blocks. (always sync 99%) image_2023_07_11T02_20_23_033Z

Because of this, when we query to the graph, we had the error below:

Failed to decode `block.number` value: `subgraph QmZU1E9MmSoyFHAZah423HkCkwCyyFmEkfYREVeevW5NAG has only indexed up to block number 44900987 and data for block number 44901168 is therefore not yet available

I would like to know how to sync 100% on polygon chain.

Relevant log output

No response

IPFS hash

QmZU1E9MmSoyFHAZah423HkCkwCyyFmEkfYREVeevW5NAG

Subgraph name or link to explorer

https://thegraph.com/studio/subgraph/mercury-matic/

Some information to help us out

  • [ ] Tick this box if this bug is caused by a regression found in the latest release.
  • [X] 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

Linux

EG-easy avatar Jul 11 '23 04:07 EG-easy

Sometimes, the indexing works fine, but sometimes it is delaying.

image

image

EG-easy avatar Jul 17 '23 03:07 EG-easy

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 Jan 24 '24 00:01 github-actions[bot]