yearn / yearn-vaults-v2-subgraph

26 stars 41 forks source link

Arbitrum Refactor: Mainnet Deployment Failed #141

Closed rareweasel closed 2 years ago

rareweasel commented 2 years ago

I just deployed (for testing purposes) the subgraph using the latest branch with the refactor for Arbitrum, and it failed:

See logs: https://thegraph.com/hosted-service/subgraph/rareweasel/yearn-refactor?selected=logs

image

1/14/2022, 5:53:30 PM

error

Subgraph instance failed to run: Mapping aborted at ~lib/@graphprotocol/graph-ts/chain/ethereum.ts, line 440, column 7, with message: Call reverted, probably because an assert or require in the contract failed, consider using try_apiVersion to handle this in the mapping. wasm backtrace: 0: 0x23d1 - !~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toAddress 1: 0x8f62 - !src/utils/transaction/getOrCreateTransactionFromCall 2: 0x91e1 - !src/utils/commons/printCallInfo in handler handleDepositWithAmount at block #12669038 (9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01), code: SubgraphSyncingFailure

1/14/2022, 5:53:29 PM

error

Subgraph error 1/1, code: SubgraphSyncingFailure, error: Mapping aborted at ~lib/@graphprotocol/graph-ts/chain/ethereum.ts, line 440, column 7, with message: Call reverted, probably because an assert or require in the contract failed, consider using try_apiVersion to handle this in the mapping. wasm backtrace: 0: 0x23d1 - !~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toAddress 1: 0x8f62 - !src/utils/transaction/getOrCreateTransactionFromCall 2: 0x91e1 - !src/utils/commons/printCallInfo in handler handleDepositWithAmount at block #12669038 (9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01), block_hash: 0x9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01, block_number: 12669038

rareweasel commented 2 years ago

Closing issue. The subgraph is live on Arbitrum: https://thegraph.com/hosted-service/subgraph/yearn/yearn-vaults-v2-arbitrum