heze boilerplate

This commit is contained in:
Eitan Seri-Levi
2026-04-27 12:51:16 +02:00
parent fae7941b2d
commit a9a9ccfad0
70 changed files with 2643 additions and 177 deletions

View File

@@ -400,6 +400,13 @@ impl CandidateBeaconNode {
hint = UPDATE_REQUIRED_LOG_HINT,
"Beacon node has mismatched Gloas fork epoch"
);
} else if beacon_node_spec.heze_fork_epoch != spec.heze_fork_epoch {
warn!(
endpoint = %self.beacon_node,
endpoint_heze_fork_epoch = ?beacon_node_spec.heze_fork_epoch,
hint = UPDATE_REQUIRED_LOG_HINT,
"Beacon node has mismatched Heze fork epoch"
);
}
Ok(())

View File

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