Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#bug; Uniswap Arbitrum One - Indexing Error #2506

Closed
po3na4skld opened this issue Mar 20, 2024 · 2 comments · Fixed by #2508
Closed

#bug; Uniswap Arbitrum One - Indexing Error #2506

po3na4skld opened this issue Mar 20, 2024 · 2 comments · Fixed by #2508
Assignees
Labels
bug Something isn't working p0 high priority

Comments

@po3na4skld
Copy link

po3na4skld commented Mar 20, 2024

Describe the bug

Subgraph instance failed to run: transaction 256ed218b87890eaba64f623e6bdf6dc01349b155880c25e0a657c5929ae5966: error while executing at wasm backtrace: 0: 0x53f9 - !~lib/@graphprotocol/graph-ts/common/collections/ByteArray#toI32 1: 0x54db - !~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toI32 2: 0x92f1 - !src/common/entities/token/getOrCreateToken 3: 0x9d60 - !src/common/entities/pool/createLiquidityPool 4: 0xc3a2 - !src/mappings/factory/handlePoolCreated: Mapping aborted at ~lib/@graphprotocol/graph-ts/common/collections.ts, line 150, column 9, with message: overflow converting 0x0000000000000000000000000000000000000000000000000000000067e53c31 to i32 in handler handlePoolCreated at block #192237170 (837b279fd09a78f0e1005e6c343d97d8efafe43598be32a185233c44976ec5e7), code: SubgraphSyncingFailure

Link to subgraph on okgraph.xyz: https://okgraph.xyz/?q=messari%2Funiswap-v3-arbitrum
Optional: link on graph protocol
https://thegraph.com/hosted-service/subgraph/messari/uniswap-v3-arbitrum?selected=logs

@po3na4skld po3na4skld added the bug Something isn't working label Mar 20, 2024
@bye43 bye43 added the p0 high priority label Mar 20, 2024
@bye43 bye43 assigned dhruv-chauhan and unassigned bye43 Mar 20, 2024
@bye43 bye43 moved this from Discussions to Assigned for Fixes in Subgraph Development Mar 20, 2024
@bye43
Copy link
Contributor

bye43 commented Mar 20, 2024

@dhruv-chauhan Looks like BSC, ETH, OP, and POL are all facing indexing errors too.

@radiofreejohn
Copy link

radiofreejohn commented Mar 20, 2024

This contract is returning a bad value for decimals:

curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x0000000000958Ec6667EB97e2f64F6909073e6B7","data":"0x313ce567"},"0xb754e71"],"id":1}'  https://your-rpc-node
{"jsonrpc":"2.0","id":1,"result":"0x313ce56700000000000000000000000000000000000000000000000000000000"}

I suspect the fix limiting the size of decimals on the official subgraph would apply here, but it also may be enough to blacklist the token like in previous PRs:

@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 20, 2024
@github-project-automation github-project-automation bot moved this from Assigned for Fixes to Deploy To Hosted Service in Subgraph Development Mar 20, 2024
@bye43 bye43 reopened this Mar 20, 2024
@bye43 bye43 moved this from Deploy To Hosted Service to Assigned for Fixes in Subgraph Development Mar 20, 2024
@dhruv-chauhan dhruv-chauhan moved this from Assigned for Fixes to Ready for Review in Subgraph Development Mar 21, 2024
@bye43 bye43 moved this from Ready for Review to In Review in Subgraph Development Mar 21, 2024
@github-project-automation github-project-automation bot moved this from In Review to Deploy To Hosted Service in Subgraph Development Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p0 high priority
Projects
Status: Deploy To Hosted Service
Development

Successfully merging a pull request may close this issue.

4 participants