Skip to content

Commit

Permalink
Removed duplicate metric recording
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilWindle committed Dec 10, 2024
1 parent 5c7a227 commit c1b3456
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions yarn-project/world-state/src/synchronizer/instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ export class WorldStateInstrumentation {
this.oldestBlock.record(Number(treeMeta.oldestHistoricBlock), {
[Attributes.MERKLE_TREE_NAME]: MerkleTreeId[tree],
});
this.treeSize.record(Number(treeMeta.size), {
[Attributes.MERKLE_TREE_NAME]: MerkleTreeId[tree],
});

this.updateTreeDBStats(treeDbStats.blockIndicesDBStats, 'block_indices', tree);
this.updateTreeDBStats(treeDbStats.blocksDBStats, 'blocks', tree);
Expand Down

0 comments on commit c1b3456

Please sign in to comment.