Merge branch 'glamsterdam-devnet-0' of https://github.com/eserilev/lighthouse into glamsterdam-devnet-0

This commit is contained in:
Eitan Seri-Levi
2026-04-28 10:39:49 +02:00
3 changed files with 4 additions and 2 deletions

View File

@@ -2038,7 +2038,9 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
});
}
if request_slot >= head_state.slot() {
let is_attesting_to_head_slot = request_slot >= head_state.slot();
if is_attesting_to_head_slot {
// When attesting to the head slot or later, always use the head of the chain.
beacon_block_root = head.beacon_block_root;
beacon_state_root = head.beacon_state_root();

View File

@@ -553,7 +553,6 @@ impl<E: EthSpec> ProductionValidatorClient<E> {
beacon_nodes.clone(),
context.executor.clone(),
);
let payload_attestation_service = PayloadAttestationService::new(
duties_service.clone(),
validator_store.clone(),

View File

@@ -189,6 +189,7 @@ impl<S: ValidatorStore + 'static, T: SlotClock + 'static> PayloadAttestationServ
}
let count = messages.len();
let fork_name = self.chain_spec.fork_name_at_slot::<S::E>(slot);
let result = self
.beacon_nodes