watcher-ts/packages/cli/src
Nabarun Gogoi 76522afa8d
Implement CLI to create checkpoint state from existing GQL endpoint (#382)
* Add util method for preparing state from GQL response entity

* Refactor method to create or update state data

* Fix typeorm bigint transformer and convert to checksum contract address

* Skip resetting to previous block in job-runner if isComplete set to true

* Fix creating subgraph event with struct params

* Use quotes for table names in custom queries

* Fix indexer prepareStateEntry method

* Fix toEthereumValue method when used with ethereum.decode

* Add CLI for creating snapshot checkpoint state from GQL endpoint

* Skip import-state if block is already indexed

* Review changes
2023-05-15 12:10:27 +05:30
..
checkpoint Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
reset Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
utils Add mobymask-v2-watcher with integrated relay and peer functionality (#327) 2023-02-20 18:09:06 +05:30
base.ts Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
chat.ts Refactor peer CLI to be run from watchers (#331) 2023-02-27 14:15:26 +05:30
create-state-gql.ts Implement CLI to create checkpoint state from existing GQL endpoint (#382) 2023-05-15 12:10:27 +05:30
export-state.ts Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
fill.ts Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
import-state.ts Implement CLI to create checkpoint state from existing GQL endpoint (#382) 2023-05-15 12:10:27 +05:30
index-block.ts Fix linter warnings and dependencies (#264) 2022-11-25 20:03:58 +05:30
index.ts Implement CLI to create checkpoint state from existing GQL endpoint (#382) 2023-05-15 12:10:27 +05:30
inspect-cid.ts Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
job-runner.ts Upgrade Typescript and ESLint (#337) (#342) 2023-03-24 10:31:33 +04:00
peer.ts Block connections with blacklisted multiaddrs (#373) 2023-05-04 16:33:29 +05:30
server.ts Block connections with blacklisted multiaddrs (#373) 2023-05-04 16:33:29 +05:30
watch-contract.ts Fix linter warnings and dependencies (#264) 2022-11-25 20:03:58 +05:30