From d4e79ceee4f822b2bf8d23a88dbc0bfa8f4399bb Mon Sep 17 00:00:00 2001 From: prathamesh0 Date: Tue, 7 Dec 2021 17:06:06 +0530 Subject: [PATCH] Add a method in test indexer to get blocks --- packages/graph-node/test/utils/indexer.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/graph-node/test/utils/indexer.ts b/packages/graph-node/test/utils/indexer.ts index 2249d4e8..359bb4d7 100644 --- a/packages/graph-node/test/utils/indexer.ts +++ b/packages/graph-node/test/utils/indexer.ts @@ -25,8 +25,8 @@ export class Indexer implements IndexerInterface { return undefined; } - async getBlock (blockHash: string): Promise { - assert(blockHash); + async getBlocks (blockFilter: { blockHash?: string, blockNumber?: number }): Promise { + assert(blockFilter); return undefined; }