Add method in watchers to cache contract and fixes for running tests

This commit is contained in:
2021-12-28 16:08:05 +05:30
parent cb2fe2aa45
commit ba890e7d9a
6 changed files with 20 additions and 4 deletions
@@ -425,6 +425,10 @@ export class Indexer implements IndexerInterface {
return this._baseIndexer.watchContract(address, kind, checkpoint, startingBlock);
}
cacheContract (contract: Contract): void {
return this._baseIndexer.cacheContract(contract);
}
async saveEventEntity (dbEvent: Event): Promise<Event> {
return this._baseIndexer.saveEventEntity(dbEvent);
}