[go: up one dir, main page]

Etherlink/RPC: old custom subgraph comptibility errors with The Graph

Context

We are testing The Graph on Etherlink. Note that the node used (the one used by The Graph) is managed by Zeeve. We are actually using a custom subgraph to test retro compatibility with old protocols. The subgraph used can be found here: https://github.com/Iguana-DEX/subgraphs/blob/main/subgraphs/exchange-v2/subgraph.yaml.

If you want to test it, you will need to go into the root of the repo and follow the steps at the end of the README. You may need the doc of The Graph to help you.

Problem 1

On the first iteration, we received this error: image

-> Fix: seems linked to that: https://github.com/ethereum/go-ethereum/issues/28608. Patched.

Problem 2

Now, we receive this error: image_720

It clearly seems to be related to an error that arises when we receive an eth_call with a specific format from the tool.

Possible fixes:

  1. We don't support "field": null in the call
  2. They use the EIP-1898 (stagnant)
  3. Something else?

-> Fix: I think the patch on the null field fixed it. Patched.

Problem 3

The new error is: image

I still don't have the details of the call but maybe the error message can help us understand what is happening.

Edited by Camille Bouzerand