Merge remote-tracking branch 'origin/release-v8.0' into unstable

This commit is contained in:
Michael Sproul
2026-02-09 09:18:10 +11:00
3 changed files with 104 additions and 2 deletions

View File

@@ -2148,11 +2148,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