You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Check if the block is known to blockchain tree or database and return its status.
///
/// Function will check:
/// * if block is inside database returns [BlockStatus::Valid].
/// * if block is inside buffer returns [BlockStatus::Disconnected].
/// * if block is part of a side chain returns [BlockStatus::Accepted].
/// * if block is part of the canonical returns [BlockStatus::Valid].
///
/// Returns an error if
/// - an error occurred while reading from the database.
/// - the block is already finalized
pub(crate)fnis_block_known(
This can cause attestation issues on 1-block reorgs/late blocks specifically with CL clients (lighthouse for example), because ACCEPTED is treated the same as SYNCING
because then the CL needs to wait for processed FCU and can't reuse the previous status response of the payload.
TODO
support full state root validation for sidechains in the tree, I believe @Rjected had a PR for this at some point
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the feature
Due to past limitations, the state root check was skipped for blocks in sidechains:
reth/crates/blockchain-tree/src/blockchain_tree.rs
Lines 130 to 141 in cd08ba8
This can cause attestation issues on 1-block reorgs/late blocks specifically with CL clients (lighthouse for example), because ACCEPTED is treated the same as SYNCING
because then the CL needs to wait for processed FCU and can't reuse the previous status response of the payload.
TODO
Additional context
No response
The text was updated successfully, but these errors were encountered: