Skip to content

Commit

Permalink
fix: fix issue with broken metric
Browse files Browse the repository at this point in the history
  • Loading branch information
anxolin committed Jun 25, 2024
1 parent fd653a7 commit aca7128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ async function persistLastProcessedBlock(params: {
log.debug(`Block ${blockNumber} has been processed`);

// Set the block height metric
metrics.blockHeight.labels(context.toString()).set(blockNumber);
metrics.blockHeight.labels(context.chainId.toString()).set(blockNumber);

return context.registry.lastProcessedBlock;
}
Expand Down

0 comments on commit aca7128

Please sign in to comment.