Skip to content

Commit 4d0ae03

Browse files
committed
fix: disable hosted graph endpoints
1 parent c78e7fb commit 4d0ae03

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

packages/adapters/subgraph/.graphclientrc.yml

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,9 @@ sources:
161161
- endpoint: "https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-mainnet/gn"
162162
retry: 2
163163
timeout: 30000 # 30 seconds
164+
- endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-mainnet"
165+
retry: 5
166+
timeout: 30000 # 30 seconds
164167
- endpoint: "https://gateway-arbitrum.network.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/FfTxiY98LJG6zoiAjCXdT34pAmCKDEP8vZRVuC8D5Gf"
165168
retry: 2
166169
timeout: 30000 # 30 seconds
@@ -197,9 +200,12 @@ sources:
197200
- endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-optimism/gn
198201
retry: 5
199202
timeout: 30000 # 30 seconds
200-
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-optimism
203+
- endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-optimism
201204
retry: 5
202205
timeout: 30000 # 30 seconds
206+
# - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-optimism
207+
# retry: 5
208+
# timeout: 30000 # 30 seconds
203209
transforms:
204210
- prefix:
205211
value: optimism_
@@ -230,9 +236,12 @@ sources:
230236
- endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-polygon/gn
231237
retry: 5
232238
timeout: 30000 # 30 seconds
233-
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-polygon
239+
- endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-polygon
234240
retry: 5
235241
timeout: 30000 # 30 seconds
242+
# - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-polygon
243+
# retry: 5
244+
# timeout: 30000 # 30 seconds
236245
transforms:
237246
- prefix:
238247
value: polygon_
@@ -263,9 +272,12 @@ sources:
263272
- endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-arbitrum-one/gn
264273
retry: 5
265274
timeout: 30000 # 30 seconds
266-
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one
275+
- endpoint: https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one
267276
retry: 5
268277
timeout: 30000 # 30 seconds
278+
# - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v1-arbitrum-one
279+
# retry: 5
280+
# timeout: 30000 # 30 seconds
269281
transforms:
270282
- prefix:
271283
value: arbitrumone_
@@ -290,9 +302,9 @@ sources:
290302
}
291303
value: "_meta.block.number"
292304
sources:
293-
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-bnb
294-
retry: 2
295-
timeout: 30000 # 30 seconds
305+
# - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-bnb
306+
# retry: 2
307+
# timeout: 30000 # 30 seconds
296308
- endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v1-bnb"
297309
retry: 5
298310
timeout: 30000 # 30 seconds
@@ -323,12 +335,15 @@ sources:
323335
}
324336
value: "_meta.block.number"
325337
sources:
326-
- endpoint: "https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-gnosis"
338+
- endpoint: "https://connext.bwarelabs.com/subgraphs/name/connext/amarok-runtime-v0-gnosis"
327339
retry: 5
328340
timeout: 30000 # 30 seconds
329341
- endpoint: "https://gateway-arbitrum.network.thegraph.com/api/{env.GRAPH_API_KEY}/subgraphs/id/6oJrPk9YJEU9rWU4DAizjZdALSccxe5ZahBsTtFaGksU"
330342
retry: 2
331343
timeout: 30000 # 30 seconds
344+
# - endpoint: "https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-gnosis"
345+
# retry: 5
346+
# timeout: 30000 # 30 seconds
332347
# - endpoint: "https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v1-gnosis/gn"
333348
# retry: 5
334349
# timeout: 30000 # 30 seconds
@@ -579,9 +594,9 @@ sources:
579594
- endpoint: https://api.goldsky.com/api/public/project_clssc64y57n5r010yeoly05up/subgraphs/connext/amarok-runtime-v0-avalanche/gn
580595
retry: 5
581596
timeout: 30000 # 30 seconds
582-
- endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-avalanche
583-
retry: 5
584-
timeout: 30000 # 30 seconds
597+
# - endpoint: https://api.thegraph.com/subgraphs/name/connext/amarok-runtime-v0-avalanche
598+
# retry: 5
599+
# timeout: 30000 # 30 seconds
585600
transforms:
586601
- prefix:
587602
value: avalanche_

0 commit comments

Comments
 (0)