Add a method in test indexer to get blocks

This commit is contained in:
2021-12-28 16:08:05 +05:30
committed by nabarun
parent 3e0c84b333
commit d4e79ceee4
+2 -2
View File
@@ -25,8 +25,8 @@ export class Indexer implements IndexerInterface {
return undefined;
}
async getBlock (blockHash: string): Promise<any> {
assert(blockHash);
async getBlocks (blockFilter: { blockHash?: string, blockNumber?: number }): Promise<any> {
assert(blockFilter);
return undefined;
}