Skip to content

#bug; indexing error in optimism-one-ethereum-bridge #2678

@Vlad-PLK

Description

@Vlad-PLK

Describe the bug
The bug is the following indexing error when trying to deploy optimism-one-bridge on ethereum mainnet protocol :
Error: transaction 7b71655c937ed7829dafd1f4c7d8699f54cb4d09c16fe8c997cb80500ca7aae2: error while executing at wasm backtrace: 0: 0x1103e - !~lib/@graphprotocol/graph-ts/chain/ethereum/ethereum.SmartContract#tryCall 1: 0xb853 - !src/sdk/protocols/bridge/tokens/TokenManager#getOrCreateToken 2: 0xf551 - !src/mappings/L1StandardBridge/handleERC20DepositInitiated: Unknown function "ERC20::decimals" with signature decimals():(uint8) called from WASM runtime in handler handleERC20DepositInitiated at block #12776925 (aab7af63d48b77f10f45d642a879e1a5c46054d1dc64123ba845fdd68532e44d)

Here's the transaction that caused the subgraph to fail :
https://etherscan.io/tx/0x7b71655c937ed7829dafd1f4c7d8699f54cb4d09c16fe8c997cb80500ca7aae2

Here's a screenshot from subgraph studio :
Image

Reproduction
Here you have the deployment ID of my subgraph on Subgraph Studio:
QmTYwp91bATo1oEscF2hMAQDpNRMcPZokvD2ePYACcYuQZ

I didn't modified anything related to Messari original subgraph and code

Expected behavior
The full syncing and then the deployment of the subgraph

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions