Reset watcher to previous indexed block on start (#207)

* Reset watcher to previous indexed block before start

* Implement changes in other watchers

* Save successfully fetched blocks and events to prefetch cache

* Add unique query for transaction table

* Check db for blocks before fetching from eth-server

* Show all mismatches at a block

Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
This commit is contained in:
2022-11-03 14:01:10 +05:30
committed by GitHub
co-authored by prathamesh
parent 306bbb73ca
commit 52c42f4e84
39 changed files with 328 additions and 341 deletions
@@ -197,6 +197,10 @@ export class Indexer implements IndexerInterface {
updateStateStatusMap (address: string, stateStatus: StateStatus): void {
return undefined;
}
async resetWatcherToBlock (blockNumber: number): Promise<void> {
return undefined;
}
}
class ServerConfig implements ServerConfigInterface {