Merge branch 'unstable' of https://github.com/sigp/lighthouse into gloas-data-availability-checker

This commit is contained in:
Eitan Seri- Levi
2026-02-09 19:25:09 -08:00
43 changed files with 1547 additions and 560 deletions

View File

@@ -2153,11 +2153,13 @@ pub fn verify_header_signature<T: BeaconChainTypes, Err: BlockBlobError>(
.get(header.message.proposer_index as usize)
.cloned()
.ok_or(Err::unknown_validator_error(header.message.proposer_index))?;
let head_fork = chain.canonical_head.cached_head().head_fork();
let fork = chain
.spec
.fork_at_epoch(header.message.slot.epoch(T::EthSpec::slots_per_epoch()));
if header.verify_signature::<T::EthSpec>(
&proposer_pubkey,
&head_fork,
&fork,
chain.genesis_validators_root,
&chain.spec,
) {

View File

@@ -918,6 +918,13 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
.start_slot(T::EthSpec::slots_per_epoch()),
);
self.observed_column_sidecars.write().prune(
new_view
.finalized_checkpoint
.epoch
.start_slot(T::EthSpec::slots_per_epoch()),
);
self.observed_slashable.write().prune(
new_view
.finalized_checkpoint