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

Balancer - pruned subgraph panicked at graph/src/components/subgraph/proof_of_indexing/online.rs:137:26:

Open yash251 opened this issue 1 year ago • 6 comments

Bug report

the subgraph is stuck on block number 54559455 on polygon network

Qm hash - QmeUa1DYUkYwVMFMtxjPobSaGyMhbUVyMU5Uknpcua3bCC

error encountered is

stderr F thread 'QmeUa1DYUkYwVMFMtxjPobSaGyMhbUVyMU5Uknpcua3bCC[702734]' panicked at graph/src/components/subgraph/proof_of_indexing/online.rs:137:26:

they deployed 2 polygon subgraphs, pruned and unpruned. both uses the same grafting base and block. unpruned has synced last week: QmWW1BQ4PfHtLbLRxyMyNVsGdR14rnUaZAyCFKz34Yx7bC but pruned (using indexerHints for the first time) is stuck: QmeUa1DYUkYwVMFMtxjPobSaGyMhbUVyMU5Uknpcua3bCC

graft: base: QmfFmtcLKRugnPe8HFmmvdtUgM6gvUSSsFXGeCTX6sH4Zg block: 54559455

they simply deployed with the indexerHints set to pruning 100k blocks and grafted onto another Subgraph repo - https://github.com/balancer/balancer-subgraph-v2/tree/dev

Relevant log output

No response

IPFS hash

QmeUa1DYUkYwVMFMtxjPobSaGyMhbUVyMU5Uknpcua3bCC

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

yash251 avatar Mar 27 '24 14:03 yash251

hey, leaving a comment here to receive notifications. let me know if you need any other info!

mendesfabio avatar Mar 27 '24 14:03 mendesfabio

hey folks - any updates here? this has been preventing us from launching new pools on Balancer =/

mendesfabio avatar Apr 02 '24 12:04 mendesfabio

@mendesfabio You grafted a specVersion 1.0.0 subgraph on top of a specVersion 0.0.4 subgraph, that is not supported due to a change in the Proof of Indexing algorithm. Are you able to use the unpruned subgraph for now, while you resync the pruned one without grafting?

leoyvens avatar Apr 02 '24 18:04 leoyvens

we've found a way around it, thank you!

mendesfabio avatar Apr 03 '24 17:04 mendesfabio

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 Oct 02 '24 00:10 github-actions[bot]

@mendesfabio it would be good for the community to provide what the workaround was so it could help others facing such issues in the future. :)

DaMandal0rian avatar Oct 16 '24 04:10 DaMandal0rian

This issue is solved in the PR #5917

shiyasmohd avatar Apr 03 '25 16:04 shiyasmohd