graphprotocol / graph-network-subgraph

The subgraph, the smart contracts, the tests, and documents for the Graph Explorer Decentralized Application
MIT License
70 stars 45 forks source link

fix(bridge): dont use hardcoded chainid when calculating retryables on l1 #226

Closed tmigone closed 1 year ago

tmigone commented 1 year ago

On L1 subgraph there is a handler that calculates the retyrable ticket ids for all transactions that go through our bridge. Part of that calculation uses the chain id of the target L2 network. Previously this was hardcoded to Arbitrum One, now it will changed based on the subgraph it's running on.

Subgraph syncing here: https://thegraph.com/hosted-service/subgraph/tmigone/network-subgraph-test