Make proposer_score_boost non-optional in ChainSpec (#9386)

Co-Authored-By: dapplion <35266934+dapplion@users.noreply.github.com>
This commit is contained in:
Lion - dapplion
2026-06-01 10:43:40 +02:00
committed by GitHub
parent f0aaf65553
commit cf259e7c50
5 changed files with 13 additions and 20 deletions

View File

@@ -144,7 +144,7 @@ impl ForkChoiceTestDefinition {
pub fn run(self) {
let spec = self.spec.unwrap_or_else(|| {
let mut spec = MainnetEthSpec::default_spec();
spec.proposer_score_boost = Some(50);
spec.proposer_score_boost = 50;
// Legacy test definitions target pre-Gloas behaviour unless explicitly overridden.
spec.gloas_fork_epoch = None;
spec