resolve merge conflicts

This commit is contained in:
Eitan Seri-Levi
2026-02-17 18:10:22 -08:00
57 changed files with 802 additions and 495 deletions

View File

@@ -971,14 +971,12 @@ impl<T: BeaconChainTypes> GossipVerifiedBlock<T> {
if let Some(beacon_root) = fork_choice_read_lock
.proto_array()
.execution_block_hash_to_beacon_block_root(&bid.message.parent_block_hash)
&& let Some(parent_payload_block) = fork_choice_read_lock.get_block(&beacon_root)
&& parent_payload_block.execution_status.is_invalid()
{
if let Some(parent_payload_block) = fork_choice_read_lock.get_block(&beacon_root) {
if parent_payload_block.execution_status.is_invalid() {
return Err(BlockError::ParentExecutionPayloadInvalid {
parent_root: beacon_root,
});
}
}
return Err(BlockError::ParentExecutionPayloadInvalid {
parent_root: beacon_root,
});
}
}