In October, The Graph ecosystem put together a plan and committed to executing on the Sunrise of Decentralized Data, enabling all hosted service users to upgrade their subgraphs to The Graph Network. Today, Sunbeam, the second phase of the Sunrise of Decentralized Data has started, marking the beginning of the Upgrade Window.
The Upgrade Window begins today and ends on June 12 where hosted service users must upgrade their subgraphs to The Graph Network, with support of recently launched features including:
Upgrading is easy! With just a few clicks and in less than 5 minutes on average, your subgraphs will be powered by the decentralized network. If you prefer a visual guide, a comprehensive video tutorial is available. This guide will walk you through the upgrade procedure, ensuring a smooth and successful transition.
Thank you for being an integral part of The Graph community and shaping the future of the internet. Begin your decentralized journey with the easy upgrade flow located in your hosted service dashboard.
DEADLINE: The migration must be complete by June 12th
Notes by @Harman-singh-waraich: https://hackmd.io/@-cmxt73kRVi2uFMhhabm4A/subgraph-migration
Step 1 - Subgraph code changes
The following subgraphs require a refactor in the way they rely on IPFS.
IPFS.cat
is not supported anymore and has been replaced by a new file datasource type.Step 2 - Deploy to Studio
Make sure that every existing hosted subgraphs are deployed as studio subgraphs.
Refer to this sheet for the existing/missing deployments.
Step 3 - Update every references to the query endpoints
All the frontend, bots, scripts depending on the subgraphs need to have their configuration updated.
Step 4 (optional) - Publish to the Graph network
Not necessary for low usage subgraphs and testnets -> use the Studio version Otherwise, use the decentralized version, requires some GRT.
Announcement: https://thegraph.com/blog/sunbeam-upgrade-window/