Compare CLI enhancements for verifying uniswap-watcher entities (#188)

* Update compare CLI to verify only updated entities

* Show time difference between GQL requests
This commit is contained in:
2022-10-04 11:18:55 +05:30
committed by GitHub
parent 87224a4673
commit 00a9c247f5
7 changed files with 107 additions and 52 deletions
+9 -9
View File
@@ -58,16 +58,17 @@
* For comparing queries in a range of blocks:
* Config file should have the names of queries to be fired.
* Config file should have the names of queries to be fired along with the corresponding entity names.
```toml
[queries]
queryDir = "../graph-test-watcher/src/gql/queries"
names = [
"author",
"blog"
]
[queries.names]
author = "Author"
blog = "Blog"
```
The queries will be fired if the corresponding entities are updated.
* Run the CLI:
@@ -86,10 +87,9 @@
[queries]
queryDir = "../graph-test-watcher/src/gql/queries"
names = [
"author",
"blog"
]
[queries.names]
author = "Author"
blog = "Blog"
[watcher]
configPath = "../../graph-test-watcher/environments/local.toml"