-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(db): Fix a sprout/history tree read panic in Zebra 1.4.0, which o…
…nly happens before the 25.3.0 state upgrade completes (#7972) * Avoid a race condition in the 25.3.0 state upgrade * Look for the most recent sprout tree height if needed * Get the latest history tree not the tip height history tree * Discard keys provided by low level database method * Remove extra ; * Provide key types & rustfmt * Fix weird closure type syntax * Update zebra-state/src/service/finalized_state/disk_format/upgrade/fix_tree_key_type.rs Co-authored-by: Marek <[email protected]> --------- Co-authored-by: Marek <[email protected]>
- Loading branch information
Showing
3 changed files
with
32 additions
and
15 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
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
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