Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
prathamesh0 committed Sep 13, 2024
1 parent 36c56da commit 2bcbfac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/graph-node/test/utils/indexer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import assert from 'assert';
import { DeepPartial, FindConditions, FindManyOptions } from 'typeorm';
import { providers } from 'ethers';
import { ethers } from 'ethers';

import {
IndexerInterface,
Expand All @@ -28,6 +28,8 @@ import { GetStorageAt, getStorageValue, MappingKey, StorageLayout } from '@cerc-
export class Indexer implements IndexerInterface {
_getStorageAt: GetStorageAt;
_storageLayoutMap: Map<string, StorageLayout> = new Map();
_contractMap: Map<string, ethers.utils.Interface> = new Map();

eventSignaturesMap: Map<string, string[]> = new Map();

constructor (ethClient: EthClient, storageLayoutMap?: Map<string, StorageLayout>) {
Expand All @@ -50,6 +52,10 @@ export class Indexer implements IndexerInterface {
return this._storageLayoutMap;
}

get contractMap (): Map<string, ethers.utils.Interface> {
return this._contractMap;
}

async init (): Promise<void> {
return undefined;
}
Expand Down

0 comments on commit 2bcbfac

Please sign in to comment.