LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

Graph add - update networks.json with new dataSource #349

Closed dimitrovmaksim closed 2 years ago

dimitrovmaksim commented 2 years ago

graph init initialises a networks.json file that contains the dataSource networks configurations. When adding a new contract with graph add the new dataSource should be added to the networks.json

https://github.com/graphprotocol/graph-cli/issues/837 https://github.com/graphprotocol/graph-cli/blob/main/src/command-helpers/network.js

Estimate: 2-3 hours