v3-subgraph icon indicating copy to clipboard operation
v3-subgraph copied to clipboard

Deterministic error when indexing

Open paymog opened this issue 3 years ago • 3 comments

I've deployed the uniswap v3 subgraph from commit hash bf03f940f17c3d32ee58bd37386f26713cff21e2 but with the graft removed.

I'm seeing the following deterministic error being reported by the graph node:

Mapping aborted at ~lib/@graphprotocol/graph-ts/chain/ethereum.ts, line 448, column 6, with message: Call reverted, probably because an `assert` or `require` in the contract failed, consider using `try_feeGrowthGlobal1X128` to handle this in the mapping.	
wasm backtrace:
	    0: 0x3788 - <unknown>!~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.SmartContract#call
	    1: 0x4d9f - <unknown>!src/types/Factory/Pool/Pool#feeGrowthGlobal1X128
	    2: 0x5349 - <unknown>!src/mappings/core/handleSwap	

Has anyone else run into this issue? Why might this be happening?

paymog avatar Dec 06 '22 13:12 paymog

It seems that the hosted service is also seeing an indexing error when visiting this link

paymog avatar Dec 06 '22 14:12 paymog

Hello, I am experiencing the same error. Have you been able to resolve it?

jb1011 avatar Apr 12 '23 12:04 jb1011

I think it's likely happening because of a corrupted call cache on the indexer. There's no way to fix this without intervention from the indexer.

paymog avatar Apr 12 '23 13:04 paymog