graphprotocol / graphprotocol/graph-network-subgraph
bug: L1 subgraph incorrectly calculating retryableTicketId for bridge txs
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
There isn't a clear pattern yet but sometimes the L1 subgraph calculates the ticket id incorrectly, which leads to the monitoring system firing false positives.
Example
- L1 tx: https://etherscan.io/tx/0x4de233b4503540d9a0111bd9e51a01df93fbeaebe46d2efcc2d5bc7c1bff3f9d
- L2 ticket creation tx: https://arbiscan.io/tx/0xb0192474e324a190bfbcf5e3fecaedff1a6e52bc9eb8e32a960d68a4eb0a6d17
- L2 ticket auto-redeem tx: https://arbiscan.io/tx/0x90ca20e639d6e30001a1b4f5d776aac1959d1d0cb29e5fea88173d01af8cfe24
- L1 subgraph calculated ticket id:
0x88c11cd46a8f310cce8d7bdf5795968e6ca117f23496e8484f53ff689bcf99a8 - Actual ticket id:
0xb0192474e324a190bfbcf5e3fecaedff1a6e52bc9eb8e32a960d68a4eb0a6d17
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace how the L1 subgraph calculates retryableTicketId, using the three linked transaction hashes and the reported calculated and actual IDs as the reproduction case. Compare the calculation with the bridge transaction data and verify that the resulting ticket ID matches the actual ID without triggering a false positive.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100