Add Gloas boilerplate (#7728)

Adds the required boilerplate code for the Gloas (Glamsterdam) hard fork. This allows PRs testing Gloas-candidate features to test fork transition.

This also includes de-duplication of post-Bellatrix readiness notifiers from #6797 (credit to @dapplion)
This commit is contained in:
Mac L
2025-08-26 12:49:48 +10:00
committed by GitHub
parent daf1c7c3af
commit e438691683
75 changed files with 1801 additions and 917 deletions

View File

@@ -30,6 +30,7 @@ pub enum ForkName {
Deneb,
Electra,
Fulu,
Gloas,
}
#[derive(Debug, PartialEq, Serialize)]
@@ -113,6 +114,11 @@ impl<'a, E: EthSpec, Payload: AbstractExecPayload<E>> Web3SignerObject<'a, E, Pa
block: None,
block_header: Some(block.block_header()),
}),
BeaconBlock::Gloas(_) => Ok(Web3SignerObject::BeaconBlock {
version: ForkName::Gloas,
block: None,
block_header: Some(block.block_header()),
}),
}
}