mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
Merge branch 'electra-engine-api' of https://github.com/sigp/lighthouse into beacon-api-electra
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use ssz_derive::{Decode, Encode};
|
||||
use state_processing::ConsensusContext;
|
||||
use std::collections::HashMap;
|
||||
use types::{AttestationData, BitList, EthSpec, Hash256, IndexedAttestation, Slot};
|
||||
use types::{EthSpec, Hash256, IndexedAttestation, Slot};
|
||||
|
||||
/// The consensus context is stored on disk as part of the data availability overflow cache.
|
||||
///
|
||||
@@ -21,8 +21,7 @@ pub struct OnDiskConsensusContext<E: EthSpec> {
|
||||
///
|
||||
/// They are not part of the on-disk format.
|
||||
#[ssz(skip_serializing, skip_deserializing)]
|
||||
indexed_attestations:
|
||||
HashMap<(AttestationData, BitList<E::MaxValidatorsPerSlot>), IndexedAttestation<E>>,
|
||||
indexed_attestations: HashMap<Hash256, IndexedAttestation<E>>,
|
||||
}
|
||||
|
||||
impl<E: EthSpec> OnDiskConsensusContext<E> {
|
||||
|
||||
Reference in New Issue
Block a user