Skip to content

Commit

Permalink
fix: disable hosted graph endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
preethamr committed Jun 11, 2024
1 parent c78e7fb commit 4d0ae03
Showing 1 changed file with 25 additions and 10 deletions.
35 changes: 25 additions & 10 deletions packages/adapters/subgraph/.graphclientrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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_
Expand Down Expand Up @@ -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_
Expand Down Expand Up @@ -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_
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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_
Expand Down

0 comments on commit 4d0ae03

Please sign in to comment.