mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
a846917f1d
* Add export-watcher CLI generation * Export snapshot block and add import-watcher CLI gen * Update codegen docs with export and import commands * Use different function to get latest checkpoint in export CLI * Update generated watcher docs with import state instructions * Push IPLDBlocks to IPFS * Change ts type for data column to Buffer * Add checkpoint hook * Push CLI checkpoint to IPFS * Fix latest IPLDBlock query to filter out irrelevant blocks * Add CLI to inspect a CID * Decode data before exporting * Encode data in JSON for getState GQL API * Use go-ipfs and export cbor-encoded buffer * Remove empty post-block methods from existing watchers * Call hooks and checkpoint job complete handlers in fill * Remove subscription to hooks queue from existing watchers |
||
---|---|---|
.. | ||
src | ||
test | ||
.eslintignore | ||
.eslintrc.json | ||
.gitignore | ||
hardhat.config.ts | ||
index.ts | ||
package.json | ||
tsconfig.json |