This commit is contained in:
Eitan Seri-Levi
2026-04-30 15:03:42 +02:00
parent 79c855a1c4
commit 2585096de6
39 changed files with 157 additions and 179 deletions

View File

@@ -1512,11 +1512,7 @@ impl ProtoArray {
) -> Result<bool, Error> {
// If the block's inclusion list satisfaction has been recorded as false,
// do not extend the payload.
if self
.payload_inclusion_list_satisfaction
.get(&fc_node.root)
== Some(&false)
{
if self.payload_inclusion_list_satisfaction.get(&fc_node.root) == Some(&false) {
return Ok(false);
}
@@ -1626,11 +1622,7 @@ impl ProtoArray {
return false;
}
if self
.payload_inclusion_list_satisfaction
.get(&node.root())
== Some(&false)
{
if self.payload_inclusion_list_satisfaction.get(&node.root()) == Some(&false) {
info!(
?current_slot,
source = "node_is_viable_for_head",

View File

@@ -2,7 +2,7 @@ use crate::{
JustifiedBalances,
error::Error,
proto_array::{
InvalidationOperation, Iter, NodeDelta, ProtoArray, ProtoNode, ProposerBoost,
InvalidationOperation, Iter, NodeDelta, ProposerBoost, ProtoArray, ProtoNode,
calculate_committee_fraction,
},
ssz_container::SszContainer,