mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-12 10:37:32 +00:00
Add a CLI in eden-watcher to fill state for a given range (#176)
* Add a CLI to fill state for a given range * Refactor code * Add a CLI to reset IPLD state * Replace ORDER BY clause in the query to get latest IPLD block * Optimize delete query in CLI to reset IPLD state * Add an option to decouple subgraph state creation from mapping code * Use a raw SQL query to delete IPLD blocks in a block range * Accomodate changes in codegen
This commit is contained in:
@@ -3,11 +3,9 @@
|
||||
//
|
||||
|
||||
import yargs from 'yargs';
|
||||
import { ethers, providers } from 'ethers';
|
||||
import { providers } from 'ethers';
|
||||
import debug from 'debug';
|
||||
|
||||
import { readAbi } from './common';
|
||||
|
||||
const log = debug('vulcanize:test');
|
||||
|
||||
const main = async (): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user