Uniswap / v3-subgraph

Subgraph for Uniswap V3
GNU General Public License v3.0
349 stars 481 forks source link

Deterministic error when indexing #154

Open paymog opened 1 year ago

paymog commented 1 year ago

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 commented 1 year ago

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

jb1011 commented 1 year ago

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

paymog commented 1 year ago

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.