Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/sdk/tests/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export const getTestConfig = (
: 'http://127.0.0.1:8080',
ipfsNode: process.env.DRONE ? 'http://ipfs:5001' : 'http://127.0.0.1:5001',
subgraphUrl: process.env.DRONE
? 'http://graphnode:8000/subgraphs/name/bellecour/DataProtector-v2'
: 'http://127.0.0.1:8000/subgraphs/name/bellecour/DataProtector-v2',
? 'http://graphnode:8000/subgraphs/name/bellecour/dataProtector-v2'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
? 'http://graphnode:8000/subgraphs/name/bellecour/dataProtector-v2'
? 'http://graphnode:8000/subgraphs/name/bellecour/dataprotector-v2'

?

: 'http://127.0.0.1:8000/subgraphs/name/bellecour/dataProtector-v2',
};
return [ethProvider, options];
};
Expand Down
6 changes: 3 additions & 3 deletions packages/subgraph/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "DataProtector-v2",
"name": "dataProtector-v2",
"version": "3.0.0",
"license": "UNLICENSED",
"scripts": {
"codegen": "graph codegen subgraph.template.yaml",
"build": "dotenv -e .env -- sh -c 'graph codegen subgraph.template.yaml && graph build subgraph.template.yaml --network ${NETWORK_NAME:-bellecour}'",
"deploy-theGraph": "graph deploy --node https://api.thegraph.com/deploy/ DataProtector",
"create": "dotenv -e .env -- sh -c 'graph create --node ${GRAPHNODE_URL:-http://localhost:8020} ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}DataProtector-v2'",
"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}'",
"create": "dotenv -e .env -- sh -c 'graph create --node ${GRAPHNODE_URL:-http://localhost:8020} ${NETWORK_NAME:-bellecour}${DEPLOY_ENV:-/}dataProtector-v2'",
"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}'",
"clean": "rm -rf generated && rm -rf build",
"test": "npm run codegen && graph test",
"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'",
Expand Down