subgraphs
subgraphs copied to clipboard
#bug; UniswapV3 Optimism parsing Failed
Describe the bug Error log shows parse fail
Subgraph instance failed to run: transaction 3cc452c70c81c1300c65169d261f5c4ad037b48da2139bf0743429d6e100de96: Mapping aborted at ~lib/@graphprotocol/graph-ts/common/collections.ts, line 150, column 9, with message: overflow converting 0x0000000000000000000000000000000000000000000000000000000067e53c31 to i32\twasm backtrace:\t 0: 0x53ad - <unknown>!~lib/@graphprotocol/graph-ts/common/collections/ByteArray#toI32\t 1: 0x548f - <unknown>!~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toI32\t 2: 0x8c73 - <unknown>!src/common/entities/token/getOrCreateToken\t 3: 0x9a4a - <unknown>!src/common/entities/pool/createLiquidityPool\t 4: 0xc070 - <unknown>!src/mappings/factory/handlePoolCreated\t in handler `handlePoolCreated` at block #108380846 (79d22a108667bd24a7e92bac67420fbc027d8eb2dd641c7275bbea4d07bffb73), code: SubgraphSyncingFailure
Reproduction
Cannot fetch data from https://api.thegraph.com/subgraphs/name/messari/uniswap-v3-optimism/graphql
Expected behavior Fetch Data successfully
Screenshots
same issue
same issue
same issue
+1
Hey all! Little update on this.
We fixed this issue in the code, and started syncing the subgraph. However, it will take a while, since there are so many transactions.
If you only need swaps we have a swap-only subgraph for uni v3 optimism: https://okgraph.xyz/?q=messari%2Funiswap-v3-swap-optimism
@dmelotik thank you for the work. Does it run into another error? I checked the link you provided that suffers an indexing_error for now.
seems that similar problem occured on swaps
subgraph right now:
There is a pending version w/ the fix at ~74%:
seems that similar problem occured on
swaps
subgraph right now:
https://github.com/messari/subgraphs/issues/2370 fixing here