Skip to content

Commit 54796d5

Browse files
authored
fix: standardize subgraphName for dataprotector-v2 (#460)
1 parent 3797608 commit 54796d5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/sdk/tests/test-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ export const getTestConfig = (
5151
: 'http://127.0.0.1:8080',
5252
ipfsNode: process.env.DRONE ? 'http://ipfs:5001' : 'http://127.0.0.1:5001',
5353
subgraphUrl: process.env.DRONE
54-
? 'http://graphnode:8000/subgraphs/name/bellecour/DataProtector-v2'
55-
: 'http://127.0.0.1:8000/subgraphs/name/bellecour/DataProtector-v2',
54+
? 'http://graphnode:8000/subgraphs/name/bellecour/dataprotector-v2'
55+
: 'http://127.0.0.1:8000/subgraphs/name/bellecour/dataprotector-v2',
5656
};
5757
return [ethProvider, options];
5858
};

packages/subgraph/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "DataProtector-v2",
2+
"name": "dataprotector-v2",
33
"version": "3.0.0",
44
"license": "UNLICENSED",
55
"scripts": {
66
"codegen": "graph codegen subgraph.template.yaml",
77
"build": "dotenv -e .env -- sh -c 'graph codegen subgraph.template.yaml && graph build subgraph.template.yaml --network ${NETWORK_NAME:-bellecour}'",
88
"deploy-theGraph": "graph deploy --node https://api.thegraph.com/deploy/ DataProtector",
9-
"create": "dotenv -e .env -- sh -c 'graph create --node ${GRAPHNODE_URL:-http://localhost:8020} ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}DataProtector-v2'",
10-
"deploy": "dotenv -e .env -- sh -c 'graph deploy ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}DataProtector-v2 subgraph.template.yaml --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --network ${NETWORK_NAME:-bellecour} --version-label ${VERSION_LABEL:-dev}'",
9+
"create": "dotenv -e .env -- sh -c 'graph create --node ${GRAPHNODE_URL:-http://localhost:8020} ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}dataprotector-v2'",
10+
"deploy": "dotenv -e .env -- sh -c 'graph deploy ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}dataprotector-v2 subgraph.template.yaml --node ${GRAPHNODE_URL:-http://localhost:8020} --ipfs ${IPFS_URL:-http://localhost:5001} --network ${NETWORK_NAME:-bellecour} --version-label ${VERSION_LABEL:-dev}'",
1111
"clean": "rm -rf generated && rm -rf build",
1212
"test": "npm run codegen && graph test",
1313
"all": " dotenv -e .env -- sh -c 'tsx ./test-stack/prepare-test-env.ts && npm run clean && npm run codegen && npm run build && npm run create && npm run deploy'",

0 commit comments

Comments
 (0)