mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 05:14:35 +00:00
EIP7549 get_attestation_indices (#5657)
* get attesting indices electra impl * fmt * get tests to pass * fmt * fix some beacon chain tests * fmt * fix slasher test * fmt got me again * fix more tests * fix tests
This commit is contained in:
@@ -21,13 +21,8 @@ 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::MaxValidatorsPerCommitteePerSlot>,
|
||||
),
|
||||
IndexedAttestation<E>,
|
||||
>,
|
||||
indexed_attestations:
|
||||
HashMap<(AttestationData, BitList<E::MaxValidatorsPerSlot>), IndexedAttestation<E>>,
|
||||
}
|
||||
|
||||
impl<E: EthSpec> OnDiskConsensusContext<E> {
|
||||
|
||||
Reference in New Issue
Block a user