Skip to content

Commit

Permalink
use only v1 subgraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-afegbua committed Jul 10, 2024
1 parent b905896 commit 894add8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/sdk-core/tasks/testSchemasAndQueries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ for i in "${NETWORKS[@]}";do

GRAPH_NETWORK="${LEGACY_NETWORK_NAMES[$i]:-$i}"

if [ "$SUBGRAPH_RELEASE_TAG" == "v1" ]; then
# No need for the legacy name here
SUBGRAPH_ENDPOINT="https://$i.subgraph.x.superfluid.dev"
else
SUBGRAPH_ENDPOINT="https://api.thegraph.com/subgraphs/name/superfluid-finance/protocol-$SUBGRAPH_RELEASE_TAG-$GRAPH_NETWORK"
fi
SUBGRAPH_ENDPOINT="https://subgraph-endpoints.superfluid.dev/$i/protocol-v1"

testSchemaAndQueries

Expand Down

0 comments on commit 894add8

Please sign in to comment.