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
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
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!~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toAddress 1: 0x8f62 - !src/utils/transaction/getOrCreateTransactionFromCall 2: 0x91e1 - !src/utils/commons/printCallInfo in handler
assert
orrequire
in the contract failed, consider usingtry_apiVersion
to handle this in the mapping. wasm backtrace: 0: 0x23d1 -handleDepositWithAmount
at block #12669038 (9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01), code: SubgraphSyncingFailure1/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!~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.Value#toAddress 1: 0x8f62 - !src/utils/transaction/getOrCreateTransactionFromCall 2: 0x91e1 - !src/utils/commons/printCallInfo in handler
assert
orrequire
in the contract failed, consider usingtry_apiVersion
to handle this in the mapping. wasm backtrace: 0: 0x23d1 -handleDepositWithAmount
at block #12669038 (9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01), block_hash: 0x9e12c906c9b8d1b61c6c55dea5b0d6f77a510928793430f047fa7e5846659d01, block_number: 12669038