mirror of
https://github.com/sigp/lighthouse.git
synced 2026-06-15 17:58:23 +00:00
Merge branch 'glamsterdam-devnet-0' of https://github.com/eserilev/lighthouse into glamsterdam-devnet-0
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user