mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 17:26:04 +00:00
Ensure committee cache is build during attn proc
This commit is contained in:
@@ -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`
|
||||||
|
|||||||
Reference in New Issue
Block a user