Fixes in eden watcher after comparing with generated watcher (#96)

This commit is contained in:
2021-12-28 16:08:05 +05:30
committed by nabarun
parent e883463aa6
commit 7a4d0b6bb4
8 changed files with 205 additions and 23 deletions
@@ -31,7 +31,6 @@
"@apollo/client": "^3.3.19",
"@ethersproject/providers": "5.3.0",
"@ipld/dag-cbor": "^6.0.12",
"@vulcanize/cache": "^0.1.0",
"@vulcanize/ipld-eth-client": "^0.1.0",
"@vulcanize/solidity-mapper": "^0.1.0",
"@vulcanize/util": "^0.1.0",
@@ -43,10 +42,7 @@
"express": "^4.17.1",
"graphql": "^15.5.0",
"graphql-import-node": "^0.0.4",
"ipfs-http-client": "^53.0.1",
"json-bigint": "^1.0.0",
"lodash": "^4.17.21",
"multiformats": "^9.4.8",
"reflect-metadata": "^0.1.13",
"typeorm": "^0.2.32",
"yargs": "^17.0.1",
@@ -95,7 +95,7 @@ GQL console: http://localhost:{{port}}/graphql
* `starting-block`: Starting block for the contract (default: `1`).
Examples:
Watch a contract with its address and checkpointing on:
```bash
@@ -115,7 +115,7 @@ GQL console: http://localhost:{{port}}/graphql
```
* `start-block`: Block number to start filling from.
* `end-block`: Block number till which to fill.
* `end-block`: Block number till which to fill.
* To create a checkpoint for a contract:
@@ -139,7 +139,7 @@ GQL console: http://localhost:{{port}}/graphql
```bash
yarn reset job-queue --block-number <previous-block-number>
```
* `block-number`: Block number to which to reset the watcher.
* To export and import the watcher state:
@@ -157,7 +157,7 @@ GQL console: http://localhost:{{port}}/graphql
```bash
yarn job-runner
```
* Import watcher state:
```bash
@@ -165,7 +165,7 @@ GQL console: http://localhost:{{port}}/graphql
```
* `import-file`: Path of JSON file from which to import the watcher data.
* Run fill:
```bash