Move status cache serialization to the Snapshot Packager service (#6081)
* Move status cache serialization to the Snapshot Packager service * Minor comment updates * use ok_or_else instead of ok_or * satus cache * Remove assert when snapshot format is wrong * Fix compile * Remove slots_to_snapshot from bank forks * Address review comment * Remove unused imports
This commit is contained in:
@@ -1569,12 +1569,6 @@ pub mod tests {
|
||||
bank_slot: 6, // The head of the fork is slot 6
|
||||
}
|
||||
);
|
||||
|
||||
// slots_since_snapshot should contain everything on the rooted path
|
||||
assert_eq!(
|
||||
bank_forks.slots_since_snapshot().to_vec(),
|
||||
vec![1, 2, 3, 4, 5]
|
||||
);
|
||||
assert_eq!(bank_forks.root(), 5);
|
||||
|
||||
// Verify the parents of the head of the fork
|
||||
|
Reference in New Issue
Block a user