mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-01 00:41:20 +00:00
Ensure committee cache is build during attn proc
This commit is contained in:
parent
d191812d4b
commit
67fe21c1c0
@ -590,6 +590,8 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
|||||||
per_slot_processing(&mut state, &self.spec)?;
|
per_slot_processing(&mut state, &self.spec)?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
state.build_committee_cache(RelativeEpoch::Current, &self.spec)?;
|
||||||
|
|
||||||
let attestation_slot = state.get_attestation_data_slot(&attestation.data)?;
|
let attestation_slot = state.get_attestation_data_slot(&attestation.data)?;
|
||||||
|
|
||||||
// Reject any attestation where the `state` loaded from `data.beacon_block_root`
|
// Reject any attestation where the `state` loaded from `data.beacon_block_root`
|
||||||
|
Loading…
Reference in New Issue
Block a user