Implement DB changes

This commit is contained in:
Michael Sproul
2022-07-18 17:52:22 +10:00
parent 092d228078
commit f0fa5a1618
6 changed files with 135 additions and 76 deletions

View File

@@ -11,7 +11,9 @@ mod sync_aggregate_id;
pub use attestation::AttMaxCover;
pub use attestation_storage::{AttestationRef, SplitAttestation};
pub use max_cover::MaxCover;
pub use persistence::{PersistedOperationPool, PersistedOperationPoolAltair};
pub use persistence::{
PersistedOperationPool, PersistedOperationPoolV11, PersistedOperationPoolV5,
};
pub use reward_cache::RewardCache;
use crate::attestation_storage::{AttestationMap, CheckpointKey};
@@ -665,8 +667,6 @@ mod release_tests {
num_committees: usize,
) -> (BeaconChainHarness<EphemeralHarnessType<E>>, ChainSpec) {
let mut spec = test_spec::<E>();
// FIXME(sproul): make this modular?
spec.altair_fork_epoch = Some(Epoch::new(0));
let num_validators =