mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 16:34:06 +00:00
Accommodate GQL optimizations in codegen (#254)
* Prune optional methods in indexer and database interfaces * Implement GQL optimization changes in codegen * Fix graph-node test indexer * Add demos to codegen package
This commit is contained in:
@@ -244,4 +244,16 @@ export class Indexer implements IndexerInterface {
|
||||
async resetWatcherToBlock (blockNumber: number): Promise<void> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
cacheContract (contract: ContractInterface): void {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async processInitialState (contractAddress: string, blockHash: string): Promise<any> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
async processStateCheckpoint (contractAddress: string, blockHash: string): Promise<boolean> {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user