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:
2024-07-12 16:59:23 +05:30
committed by GitHub
parent 2217cd3ffb
commit 42cb688921
21 changed files with 89 additions and 76 deletions
@@ -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);