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

New payload: add invalid to bad blocks #4080

Conversation

daniellehrner
Copy link
Contributor

PR description

If a block is deemed invalid, because it did not descend from the terminal block, we add it to our bad blocks. This is a fix for the failing Hive engine test Transition to a Chain with Invalid Terminal Block, Lower Configured Total Difficulty (Transition Payload).

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if
    updates are required.

Changelog

@daniellehrner daniellehrner changed the title New payload add invalid to bad blocks New payload: add invalid to bad blocks Jul 11, 2022
Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
@daniellehrner daniellehrner marked this pull request as ready for review July 11, 2022 10:56
@daniellehrner daniellehrner enabled auto-merge (squash) July 11, 2022 19:58
@daniellehrner daniellehrner merged commit 750580d into hyperledger:main Jul 11, 2022
eum602 pushed a commit to lacchain/besu that referenced this pull request Nov 3, 2023
* if block did not descend from the terminal block add it to the bad blocks

Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants