TheGraph MIPs L2 Migration

Olga L
3 min readMar 24, 2023

On 23/03/23 the Arbitrum network’s own token was launched, which showed great interest in the network. Arbitrum provides users with faster and more cost-effective transactions and the potential to significantly extend the functionality and scalability of Ethereum-based dApps. With fast transaction processing times, lower gas fees and a seamless user experience, Arbitrum is an indispensable tool for developers looking to build secure and efficient decentralized applications.

The Graph team and MIPs members tested the functionality of the Goerli L2 Arbitrum network. The purpose of this mission was to deploy an indexer in the L2 test network for The Graph on the Goerli Arbitrum. This allowed the indexing infrastructure connected to Arbitrum to be tested and gave the kernel developers working on the L2 migration an opportunity to ensure that all components worked as expected.

Work in this phase included:

  • Setting up a new indexer stack(or using an existing one)

🤖 To connect to The Graph’s Goerli testnet and interact with the protocol, you have to configure your Indexer infrastructure correctly.

🧑‍🚀 Existing tooling such as GraphOp’s Launchpad (docs here) and StakeSquid’s Docker setup are a great way of instantiating all of these services in a more automated manner. 👀 GraphOps has recently conducted a workshop on Launchpad, and more are on the way. All recordings will be made available here. Also, make sure you join #kubernetes-launchpad in The Graph’s Discord Server if you have questions.

For general questions on using the Indexer toolkit, including StakeSquid’s Docker, please use either #mips-testnet or #indexer-software.

  • Allocate to subgraphs and serve queries
  • Monitoring and wait for the allocation to be closed and the rebates to be claimed

Scoring criteria:

  • 1000 points: Completing all steps up to allocating to a subgraph and closing the allocation
  • 200 points for staking
  • 200 points for setting profile and delegation parameters
  • 200 points for self-delegating
  • 200 points for opening an allocation
  • 200 points for closing the allocation (within the time frame and with a valid POI)
  • 400 points for collecting more than 0 query fees and claiming them from the rebate pool (no need to collect more than others to score higher)
  • 0–200 points based on query response success rate as measured by the gateway
  • ℹ️ Bear in mind that query volume competition is not the scope of this phase. You need to strive for uptime, but there won’t be a lot of volume on the Gnosis subgraph mentioned above.
  • 0–400 bonus points for useful feedback provided on UI or any issues found along the way

Moving to the mainnet Arbitrum, as mentioned above, will save on network charges when servicing subgraphs, which will also have a positive impact on the quality and speed of their service.