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

Finalised blocks should not prevent reorgs in BWS #4097

Merged
merged 3 commits into from
Jul 14, 2022

Conversation

gezero
Copy link
Contributor

@gezero gezero commented Jul 13, 2022

We should allow reorgs bellow finalized blocks during Backwards Sync.

@gezero
Copy link
Contributor Author

gezero commented Jul 13, 2022

A bug in the logic in the check prevented BWSync to finish even in some valid scenarios. I think it is better to remove it altogether.

Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Copy link
Contributor

@garyschulte garyschulte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

We don't have any limit on backward sync now right? It can reorg a chain past head, past finalized, etc.

@garyschulte garyschulte merged commit 211015e into hyperledger:main Jul 14, 2022
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
codyborn pushed a commit to codyborn/besu that referenced this pull request Jul 31, 2022
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Signed-off-by: Cody Born <codyborn@outlook.com>
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
Signed-off-by: Jiri Peinlich <jiri.peinlich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants