From 4d0ae038c5c08f7327c8ae9f01f459a9ac6351b1 Mon Sep 17 00:00:00 2001 From: preethamr Date: Tue, 11 Jun 2024 09:24:50 -0700 Subject: [PATCH] fix: disable hosted graph endpoints --- packages/adapters/subgraph/.graphclientrc.yml | 35 +++++++++++++------ 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/packages/adapters/subgraph/.graphclientrc.yml b/packages/adapters/subgraph/.graphclientrc.yml index f2bbf54519..246a902c2c 100644 --- a/packages/adapters/subgraph/.graphclientrc.yml +++ b/packages/adapters/subgraph/.graphclientrc.yml @@ -161,6 +161,9 @@ sources: - endpoint: "https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-mainnet/gn" retry: 2 timeout: 30000 # 30 seconds + - endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-mainnet" + retry: 5 + timeout: 30000 # 30 seconds - endpoint: "https://gateway-arbitrum.network.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/FfTxiY98LJG6zoiAjCXdT34pAmCKDEP8vZRVuC8D5Gf" retry: 2 timeout: 30000 # 30 seconds @@ -197,9 +200,12 @@ sources: - endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-optimism/gn retry: 5 timeout: 30000 # 30 seconds - - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-optimism + - endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-optimism retry: 5 timeout: 30000 # 30 seconds + # - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-optimism + # retry: 5 + # timeout: 30000 # 30 seconds transforms: - prefix: value: optimism_ @@ -230,9 +236,12 @@ sources: - endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-polygon/gn retry: 5 timeout: 30000 # 30 seconds - - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-polygon + - endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-polygon retry: 5 timeout: 30000 # 30 seconds + # - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-polygon + # retry: 5 + # timeout: 30000 # 30 seconds transforms: - prefix: value: polygon_ @@ -263,9 +272,12 @@ sources: - endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-arbitrum-one/gn retry: 5 timeout: 30000 # 30 seconds - - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one + - endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one retry: 5 timeout: 30000 # 30 seconds + # - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one + # retry: 5 + # timeout: 30000 # 30 seconds transforms: - prefix: value: arbitrumone_ @@ -290,9 +302,9 @@ sources: } value: "_meta.block.number" sources: - - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-bnb - retry: 2 - timeout: 30000 # 30 seconds + # - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-bnb + # retry: 2 + # timeout: 30000 # 30 seconds - endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-bnb" retry: 5 timeout: 30000 # 30 seconds @@ -323,12 +335,15 @@ sources: } value: "_meta.block.number" sources: - - endpoint: "https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-gnosis" + - endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v0-gnosis" retry: 5 timeout: 30000 # 30 seconds - endpoint: "https://gateway-arbitrum.network.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/6oJrPk9YJEU9rWU4DAizjZdALSccxe5ZahBsTtFaGksU" retry: 2 timeout: 30000 # 30 seconds + # - endpoint: "https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-gnosis" + # retry: 5 + # timeout: 30000 # 30 seconds # - endpoint: "https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-gnosis/gn" # retry: 5 # timeout: 30000 # 30 seconds @@ -579,9 +594,9 @@ sources: - endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v0-avalanche/gn retry: 5 timeout: 30000 # 30 seconds - - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-avalanche - retry: 5 - timeout: 30000 # 30 seconds + # - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-avalanche + # retry: 5 + # timeout: 30000 # 30 seconds transforms: - prefix: value: avalanche_