5210 spec change

This commit is contained in:
Eitan Seri-Levi
2026-06-02 10:40:31 +03:00
parent 1b929aadef
commit aed0ddd4c0

View File

@@ -1538,7 +1538,15 @@ impl ProtoArray {
// Check that false votes have not achieved an absolute majority. This allows the payload to be
// considered available when either a majority have voted true or not enough votes have
// been cast either way.
Ok(!proto_node.payload_data_availability::<E>(false)?)
if proto_node.payload_data_availability::<E>(false)? {
return Ok(false)
}
if proto_node.payload_timeliness::<E>(false)? {
return Ok(false)
}
Ok(true)
}
pub fn should_extend_payload<E: EthSpec>(