diff --git a/storage/storage-interface/src/state_store/state_view/cached_state_view.rs b/storage/storage-interface/src/state_store/state_view/cached_state_view.rs index 1d98af9a05e58..d2aec329b22f7 100644 --- a/storage/storage-interface/src/state_store/state_view/cached_state_view.rs +++ b/storage/storage-interface/src/state_store/state_view/cached_state_view.rs @@ -211,6 +211,11 @@ impl CachedStateView { // found in speculative state, can be either a new value or a deletion update.to_state_value_with_version() } else if let Some(base_version) = self.base_version() { + if let Some(proof_fetcher) = self.proof_fetcher.as_ref() { + + // FIXME(aldenhu): doc + proof_fetcher.schedule_get_proof_once(state_key.hash(), 0); + } StateCacheEntry::from_tuple_opt( self.reader .get_state_value_with_version_by_version(state_key, base_version)?,