watcher-ts/packages/graph-node/test/subgraph/example1
nikugogoi 83775608ec Implement subgraph store host API (#35)
* Implement store get api without blockHash and blockNumber

* Pass database instance to GraphWatcher

* Implement store set without block data

* Store blockHash and blockNumber in database entity table

* Implement getting entity in subgraph from store.get

* Add block data present in postgraphile

* Pass db and context to instantiate method in tests

* GQL API in graph-test-watcher to test store.set

* Remove contract address from subgraph file

* Fix block in dummy event data

* Pass just blockHash to get an entity from the database

* Review changes and add TODOs

Co-authored-by: prathamesh <prathamesh.musale0@gmail.com>
2021-12-28 16:08:05 +05:30
..
abis Invoke subgraph handler in watcher event processing (#34) 2021-12-28 16:08:05 +05:30
generated Invoke subgraph handler in watcher event processing (#34) 2021-12-28 16:08:05 +05:30
src Implement subgraph store host API (#35) 2021-12-28 16:08:05 +05:30
package.json Invoke subgraph handler in watcher event processing (#34) 2021-12-28 16:08:05 +05:30
schema.graphql Invoke subgraph handler in watcher event processing (#34) 2021-12-28 16:08:05 +05:30
subgraph.yaml Implement subgraph store host API (#35) 2021-12-28 16:08:05 +05:30
yarn.lock Invoke subgraph handler in watcher event processing (#34) 2021-12-28 16:08:05 +05:30