-
Notifications
You must be signed in to change notification settings - Fork 622
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(state-snapshot): Update flat head even if requested to move to a …
…block with no flat state changes (#9462) This change doesn't impact the contents of flat state. The only callsite of `update_flat_head(strict=true)` is creation of the state snapshot: https://github.com/near/nearcore/blob/6317cc6071c44268cdb5dfa52a64141b5e1f8cee/core/store/src/trie/shard_tries.rs#L87C21-L87C21 . Note that in that callsite the state of the FlatState will remain exactly the same, but flat_head will be at a different block.
- Loading branch information
Showing
1 changed file
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters