From 2bcbfac98cc3f86e25aae02579ba340730da555f Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 13 Sep 2024 10:47:44 +0530 Subject: [PATCH] Fix lint errors --- packages/graph-node/test/utils/indexer.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; }