Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Gimenez <[email protected]>
  • Loading branch information
Rjected and fgimenez committed Feb 4, 2025
1 parent 8e64f9b commit 740a133
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/engine/tree/src/tree/cached_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ where
}

impl<S> CachedStateProvider<S> {
/// Creates a new [`SavedCache`] from the given state updates, block hash, and account storage
/// roots.
/// Creates a new [`SavedCache`] from the given state updates and executed block hash.
///
/// This does not update the code cache, because no changes are required to the code cache on
/// state change.
Expand Down Expand Up @@ -126,7 +125,7 @@ pub(crate) struct CachedStateMetrics {
/// Code cache misses
code_cache_misses: Gauge,

/// Storage cache size
/// Code cache size
///
/// NOTE: this uses the moka caches' `entry_count`, NOT the `weighted_size` method to calculate
/// size.
Expand Down

0 comments on commit 740a133

Please sign in to comment.