From 30f71367f75fdb148fac7c7e7e35d5b6346bd925 Mon Sep 17 00:00:00 2001 From: ssallam Date: Wed, 20 Jan 2021 12:11:10 +0100 Subject: [PATCH] Use same subgraph name for all different networks, since they are deployed to different instances anyway. --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 5a3416b..5291573 100644 --- a/package.json +++ b/package.json @@ -5,15 +5,15 @@ "start": "", "create": "graph create oceanprotocol/ocean-subgraph --node https://api.thegraph.com/deploy/", "create:local": "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020", - "create:local-rinkeby": "graph create oceanprotocol/subgraph-rinkeby --node http://127.0.0.1:8020", - "create:local-ropsten": "graph create oceanprotocol/subgraph-ropsten --node http://127.0.0.1:8020", + "create:local-rinkeby": "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020", + "create:local-ropsten": "graph create oceanprotocol/ocean-subgraph --node http://127.0.0.1:8020", "codegen": "graph codegen --output-dir src/types/", "build": "graph build", "deploy": "graph deploy oceanprotocol/ocean-subgraph --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/", "deploy:beta": "graph deploy oceanprotocol/ocean-subgraph-beta --ipfs https://api.thegraph.com/ipfs/ --node https://api.thegraph.com/deploy/", - "deploy:local": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020", - "deploy:local-rinkeby": "graph deploy oceanprotocol/subgraph-rinkeby subgraph.rinkeby.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020", - "deploy:local-ropsten": "graph deploy oceanprotocol/subgraph-ropsten subgraph.ropsten.yaml --debug --ipfs http://localhost:5001 --node http://127.0.0.1:8020", + "deploy:local": "graph deploy oceanprotocol/ocean-subgraph subgraph.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020", + "deploy:local-rinkeby": "graph deploy oceanprotocol/ocean-subgraph subgraph.rinkeby.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020", + "deploy:local-ropsten": "graph deploy oceanprotocol/ocean-subgraph subgraph.ropsten.yaml --debug --ipfs http://127.0.0.1:5001 --node http://127.0.0.1:8020", "test": "npm run lint && npm run type-check", "lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx .", "format": "prettier --ignore-path .gitignore './**/*.{css,yml,js,ts,tsx,json,yaml}' --write",