Add a method in test indexer to get blocks

This commit is contained in:
Prathamesh Musale 2021-12-07 17:06:06 +05:30 committed by nabarun
parent 3e0c84b333
commit d4e79ceee4

View File

@ -25,8 +25,8 @@ export class Indexer implements IndexerInterface {
return undefined; return undefined;
} }
async getBlock (blockHash: string): Promise<any> { async getBlocks (blockFilter: { blockHash?: string, blockNumber?: number }): Promise<any> {
assert(blockHash); assert(blockFilter);
return undefined; return undefined;
} }