Skip to content

Commit

Permalink
chg: copying network address config file to src directory, so that it…
Browse files Browse the repository at this point in the history
… can be used in mapping handler functions
  • Loading branch information
itzmeanjan committed Jan 1, 2021
1 parent b785100 commit 794c2d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions root/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
subgraph.yaml
src/network.json
4 changes: 2 additions & 2 deletions root/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"graph": "graph",
"codegen": "graph codegen",
"build": "graph build",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml",
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml",
"prepare:mainnet": "mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml && cp config/mainnet.json src/network.json",
"prepare:goerli": "mustache config/goerli.json subgraph.template.yaml > subgraph.yaml && cp config/goerli.json src/network.json",
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ maticnetwork/mumbai-root-subgraphs",
"create-local": "graph create --node http://localhost:8020/ maticnetwork/mumbai-root-subgraphs",
"remove-local": "graph remove --node http://localhost:8020/ maticnetwork/mumbai-root-subgraphs",
Expand Down

0 comments on commit 794c2d8

Please sign in to comment.