Revert "Add LastFullSnapshotSlot to SnapshotConfig (#19341)" (#19529)

This reverts commit 4d361af976.
This commit is contained in:
Brooks Prumo
2021-08-31 22:03:19 -05:00
committed by GitHub
parent 2df96cd81e
commit 1d5a8ebc6a
10 changed files with 9 additions and 30 deletions

View File

@ -271,10 +271,7 @@ impl AccountsHashVerifier {
mod tests {
use super::*;
use solana_gossip::{cluster_info::make_accounts_hashes_message, contact_info::ContactInfo};
use solana_runtime::{
snapshot_config::LastFullSnapshotSlot,
snapshot_utils::{ArchiveFormat, SnapshotVersion},
};
use solana_runtime::snapshot_utils::{ArchiveFormat, SnapshotVersion};
use solana_sdk::{
genesis_config::ClusterType,
hash::hash,
@ -346,7 +343,6 @@ mod tests {
archive_format: ArchiveFormat::Tar,
snapshot_version: SnapshotVersion::default(),
maximum_snapshots_to_retain: usize::MAX,
last_full_snapshot_slot: LastFullSnapshotSlot::default(),
};
for i in 0..MAX_SNAPSHOT_HASHES + 1 {
let accounts_package = AccountsPackage {