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:
prathamesh0
2023-10-26 12:05:29 +05:30
committed by GitHub
parent b63a93d8a0
commit 445d5a9293
7 changed files with 156 additions and 18 deletions
@@ -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;
}