-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
hive: fcu fields not validated #6217
Comments
To add some more context here, we do perform a similar check here reth/crates/consensus/beacon/src/engine/mod.rs Lines 827 to 868 in 720815a
This happens after |
This issue is stale because it has been open for 21 days with no activity. |
iirc merge tests were retired |
Description
The chain formed by forkchoice update fields (
finalized -> safe -> head
) is not validated by the consensus engine and it erroneously responds with FCU statusSyncing
Hive
At the time of writing the test covering this behavior is named
Inconsistent Head in ForkchoiceState (Paris)
under engine-api test suite.Test breakdown
The simulation sends following Engine API requests to the client:
After analyzing the chains formed by these blocks, we can see that head
0xcd89..ac71
can never extend chain formed by0x4446..7652
and0x2e65..51f7
.Solution
After validating the existence of the head block in the blockchain tree, we should validate that it forms a valid chain by extending safe and finalized blocks.
The text was updated successfully, but these errors were encountered: