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
Bws internal error fix #6806
Bws internal error fix #6806
Conversation
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
This reverts commit bf07f43. Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
…t is only logged when are actually adding it Signed-off-by: Jason Frame <jason.frame@consensys.net>
64bdc3b
to
562f7cd
Compare
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.
Was adding these hashes during sync providing any benefit? (if it was, it was probably before this change... ed1480b)
When and how Besu receives FCU either during sync or during node recovery (e.g. after some besu downtime) varies between every CL.
Has sync and recovery been tested for each CL?
I think holesky would suffice if you haven't and decided to.
Happy to be convinced it doesn't need all this testing if you're confident it won't break anything :)
Don't think it was. Can't think of any benefit as the hashes would be out of date before we finished the sync.
Haven't done that. That's a good idea. Will tests some syncs with different CLs on holesky.
|
Tested Besu/Lighthouse, Besu/Lodestar, Besu/Nimbus, Besu/Prysm and Besu/Teku on holeksy |
Signed-off-by: Jason Frame <jason.frame@consensys.net> Signed-off-by: amsmota <antonio.mota@citi.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net> Signed-off-by: amsmota <antonio.mota@citi.com>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
Signed-off-by: Jason Frame <jason.frame@consensys.net>
PR description
Fixes BWS issue where we are unable to import blocks for some hashes. We are currently getting this log at the end of the BWS.
This is due to adding hashes before have finished the initial sync and are ready to do a BWS.
Also moved the log message "Appending new head block hash {} to backward sync" into BackwardSyncContext so it is only logged if we are going to add the new block hash to the backward as may not kick off the BWS due to having not finished the initial sync.
Fixed Issue(s)
fixes #6527
Thanks for sending a pull request! Have you done the following?
doc-change-required
label to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew build
./gradlew acceptanceTest
./gradlew integrationTest
./gradlew ethereum:referenceTests:referenceTests