Skip to content

Commit

Permalink
fix metric
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech committed Nov 3, 2024
1 parent cd0d850 commit 11e21f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ export async function unavailableBeaconBlobsByRoot(
networkResBlobSidecars = await network.sendBlobSidecarsByRoot(peerId, networkReqIdentifiers);
metrics?.blockInputFetchStats.dataPromiseBlobsFinallyAvailableFromNetwork.inc(networkResBlobSidecars.length);
if (blockTriedBefore) {
metrics?.blockInputFetchStats.dataPromiseBlobsRetriedAvailableFromNetwork.inc(networkReqIdentifiers.length);
metrics?.blockInputFetchStats.dataPromiseBlobsRetriedAvailableFromNetwork.inc(networkResBlobSidecars.length);
}
} else {
networkResBlobSidecars = [];
Expand Down

0 comments on commit 11e21f0

Please sign in to comment.