Correct missing entry handling to avoid bad warns (#8339)
* Correct missing entry handling to avoid bad warns * Pass storage entries to AccountStorageSerialize * Fix CI..... * Add tests and reorder condition for cheapest first * Remove unneeded reference
This commit is contained in:
@ -903,7 +903,8 @@ fn main() {
|
||||
exit(1);
|
||||
});
|
||||
|
||||
snapshot_utils::add_snapshot(&temp_dir, &bank)
|
||||
let storages: Vec<_> = bank.get_snapshot_storages();
|
||||
snapshot_utils::add_snapshot(&temp_dir, &bank, &storages)
|
||||
.and_then(|slot_snapshot_paths| {
|
||||
snapshot_utils::package_snapshot(
|
||||
&bank,
|
||||
@ -911,6 +912,7 @@ fn main() {
|
||||
snapshot_utils::get_snapshot_archive_path(output_directory),
|
||||
&temp_dir,
|
||||
&bank.src.roots(),
|
||||
storages,
|
||||
)
|
||||
})
|
||||
.and_then(|package| {
|
||||
|
Reference in New Issue
Block a user