diff --git a/crates/rpc/rpc-eth-types/src/cache/mod.rs b/crates/rpc/rpc-eth-types/src/cache/mod.rs index 60ff2309da37..0ced498ce10a 100644 --- a/crates/rpc/rpc-eth-types/src/cache/mod.rs +++ b/crates/rpc/rpc-eth-types/src/cache/mod.rs @@ -575,8 +575,9 @@ impl ChainChange { /// immediately before they need to be fetched from disk. /// /// Updates [`EthStateCache`] in two scenario : -/// 1. On reorgs: sets [`latest_chain_change`] to None and removes reorged blocks -/// 2. On new canonical blocks: updates [`latest_chain_change`] and caches the new blocks +/// 1. On reorgs: sets `EthStateCache::latest_chain_change` to None and removes reorged blocks +/// 2. On new canonical blocks: updates `EthStateCache::latest_chain_change` and caches the new +/// blocks /// /// Reorged blocks are removed from the cache. pub async fn cache_new_blocks_task(