Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msmouse committed Dec 20, 2024
1 parent 3601ca8 commit 07b5293
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)?,
Expand Down

0 comments on commit 07b5293

Please sign in to comment.