diff --git a/packages/graph-node/test/utils/indexer.ts b/packages/graph-node/test/utils/indexer.ts index 660aba1e..e31c3b56 100644 --- a/packages/graph-node/test/utils/indexer.ts +++ b/packages/graph-node/test/utils/indexer.ts @@ -95,6 +95,10 @@ export class Indexer implements IndexerInterface { return undefined; } + async getBlockByHash (blockHash?: string): Promise<{ block: any }> { + return { block: undefined }; + } + async getBlocksAtHeight (height: number, isPruned: boolean): Promise { assert(height); assert(isPruned);