diff --git a/packages/graph-node/test/utils/indexer.ts b/packages/graph-node/test/utils/indexer.ts index e31c3b56..3930e97e 100644 --- a/packages/graph-node/test/utils/indexer.ts +++ b/packages/graph-node/test/utils/indexer.ts @@ -2,7 +2,7 @@ import assert from 'assert'; import { DeepPartial, FindConditions, FindManyOptions } from 'typeorm'; -import { providers } from 'ethers'; +import { ethers } from 'ethers'; import { IndexerInterface, @@ -28,6 +28,8 @@ import { GetStorageAt, getStorageValue, MappingKey, StorageLayout } from '@cerc- export class Indexer implements IndexerInterface { _getStorageAt: GetStorageAt; _storageLayoutMap: Map = new Map(); + _contractMap: Map = new Map(); + eventSignaturesMap: Map = new Map(); constructor (ethClient: EthClient, storageLayoutMap?: Map) { @@ -50,6 +52,10 @@ export class Indexer implements IndexerInterface { return this._storageLayoutMap; } + get contractMap (): Map { + return this._contractMap; + } + async init (): Promise { return undefined; }