From a42814ae1b8eac917d48c8a3a482f7b6bd4cb5b4 Mon Sep 17 00:00:00 2001 From: 0xMakka Date: Fri, 2 Aug 2024 19:09:44 +0100 Subject: [PATCH] use ditial-carbon-id and not bridged-carbon-id --- app/lib/constants.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/lib/constants.ts b/app/lib/constants.ts index 67b3780ce3..20f4a2d578 100644 --- a/app/lib/constants.ts +++ b/app/lib/constants.ts @@ -73,6 +73,7 @@ const GRAPH_API_KEY = process.env.GRAPH_API_KEY ?? process.env.NEXT_PUBLIC_GRAPH_API_KEY; const BRIDGED_CARBON_ID = "9skh5pMQGRdyJcBe8PjWdDjLoYqoYTMLRDpFh6acSHUu"; +const DIGITAL_CARBON_ID = "ECLEwJKgujmiRCW1XbfbbUbpae2igeHa2KJ6BXNSWrZF"; const SUBGRAPH_BASE_URL = "https://gateway-arbitrum.network.thegraph.com/api/" + GRAPH_API_KEY + @@ -86,6 +87,6 @@ export const subgraphs = { ? `${SUBGRAPH_BASE_URL}${BRIDGED_CARBON_ID}` : `${SUBGRAPH_DEV_URL}/polygon-bridged-carbon/${SUBGRAPH_VERSION_SUFFIX}`, polygonDigitalCarbon: IS_PRODUCTION - ? `${SUBGRAPH_BASE_URL}${BRIDGED_CARBON_ID}` + ? `${SUBGRAPH_BASE_URL}${DIGITAL_CARBON_ID}` : `${SUBGRAPH_DEV_URL}/polygon-digital-carbon/${SUBGRAPH_VERSION_SUFFIX}`, };