mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-07 08:24:06 +00:00
Export metric for total ETH RPC count (#528)
* Export metric for total ETH RPC count by methods * Fix endpoint switch on max retries of new block * Upgrade package versions
This commit is contained in:
@@ -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<BlockProgressInterface[]> {
|
||||
assert(height);
|
||||
assert(isPruned);
|
||||
|
||||
Reference in New Issue
Block a user