mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 16:34:06 +00:00
Process template events at last when following subgraph events order (#439)
* Process template events at last when following subgraph events order * Update mock test indexer
This commit is contained in:
@@ -177,6 +177,10 @@ export class Indexer implements IndexerInterface {
|
||||
return dbEvent;
|
||||
}
|
||||
|
||||
async saveEvents (dbEvents: EventInterface[]): Promise<void> {
|
||||
assert(dbEvents);
|
||||
}
|
||||
|
||||
async processEvent (event: EventInterface): Promise<void> {
|
||||
assert(event);
|
||||
}
|
||||
@@ -201,6 +205,10 @@ export class Indexer implements IndexerInterface {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
getWatchedContracts (): ContractInterface[] {
|
||||
return [];
|
||||
}
|
||||
|
||||
async watchContract (address: string, kind: string, checkpoint: boolean, startingBlock: number): Promise<void> {
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user