Fix block_timeliness_ptc_threshold hardcoded constants

This commit is contained in:
Michael Sproul
2026-04-02 16:38:40 +11:00
parent f5413c6e97
commit a1296fc0c7

View File

@@ -636,7 +636,7 @@ impl ProtoArray {
// TODO(gloas): use Gloas-specific PTC due threshold once
// `get_payload_attestation_due_ms` is on ChainSpec.
block_timeliness_ptc_threshold: is_genesis
|| (is_current_slot && time_into_slot < spec.get_slot_duration() / 2),
|| (is_current_slot && time_into_slot < 3 * spec.get_slot_duration() / 4),
equivocating_attestation_score: 0,
})
};