Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions crates/trie/sparse/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,11 @@ impl SparseStateTrieMetrics {
.record(take(&mut self.multiproof_total_storage_nodes) as f64);
}

/// Increment the skipped account nodes counter by the given count
pub(crate) const fn increment_skipped_account_nodes(&mut self, count: u64) {
self.multiproof_skipped_account_nodes += count;
}

/// Increment the total account nodes counter by the given count
pub(crate) const fn increment_total_account_nodes(&mut self, count: u64) {
self.multiproof_total_account_nodes += count;
}

/// Increment the skipped storage nodes counter by the given count
pub(crate) const fn increment_skipped_storage_nodes(&mut self, count: u64) {
self.multiproof_skipped_storage_nodes += count;
}

/// Increment the total storage nodes counter by the given count
pub(crate) const fn increment_total_storage_nodes(&mut self, count: u64) {
self.multiproof_total_storage_nodes += count;
Expand Down
Loading