-
Notifications
You must be signed in to change notification settings - Fork 15
Fix starting from snapshot created during transition #359
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
Conversation
|
libraries/chain/controller.cpp
Outdated
// before transition_to_savanna is called. | ||
const bool skip_validate_signee = true; // validated already | ||
dlog("Create irreversible transition block ${bn}", ("bn", legacy_root->block_num())); | ||
auto new_bsp = block_state::create_transition_block( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new_bsp
can be named as new_root
. But not a big deal.
Note:start |
…m() to that value
…after every apply_block
Fix starting from snapshot created during transition when no block log is provided.
Add new test case that starts from a snapshot created during transition after removing the block log.
Resolves #345