Skip to content

Commit

Permalink
fix: producedBlindedBlockRoot metric typo (#6153)
Browse files Browse the repository at this point in the history
  • Loading branch information
twoeths authored Dec 6, 2023
1 parent 2efd0e8 commit 836fabf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/src/chain/chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ export class BeaconChain implements IBeaconChain {
this.metrics?.blockProductionCaches.producedBlockRoot.set(this.producedBlockRoot.size);

pruneSetToMax(this.producedBlindedBlockRoot, this.opts.maxCachedProducedRoots ?? DEFAULT_MAX_CACHED_PRODUCED_ROOTS);
this.metrics?.blockProductionCaches.producedBlindedBlockRoot.set(this.producedBlockRoot.size);
this.metrics?.blockProductionCaches.producedBlindedBlockRoot.set(this.producedBlindedBlockRoot.size);

if (this.config.getForkSeq(slot) >= ForkSeq.deneb) {
pruneSetToMax(
Expand Down

0 comments on commit 836fabf

Please sign in to comment.