Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IF: Support Leap 5 Fork Database disk format and new Savanna disk format. #2285

Closed
Tracked by #2110
greg7mdp opened this issue Mar 6, 2024 · 0 comments · Fixed by #2306
Closed
Tracked by #2110

IF: Support Leap 5 Fork Database disk format and new Savanna disk format. #2285

greg7mdp opened this issue Mar 6, 2024 · 0 comments · Fixed by #2306
Assignees

Comments

@greg7mdp
Copy link
Contributor

greg7mdp commented Mar 6, 2024

The fork database changed for Savanna.

It can now be either a block_state_legacy and/or a block_state container, and the root stores a block_state instead of a block_header_state.

We need to support a new file format which will store either one fork_db (either legacy or not) or two fork_ds (as will exist during the transition).

Leap 5 file format stored only the header part of the root block_state_legacy. This was changed in the hotstuff_integration branch (see #2284).

Test tests/ship_streamer_if_test should also be re-enabled (uncomment in CMakeLists.txt).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants