* Add convenience function to create a snapshot archive out of any Bank (cherry picked from commitdd5a2ef05f
) * Add solana-test-validator --warp-slot argument (cherry picked from commitbf1943e489
) Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -155,7 +155,7 @@ mod tests {
|
||||
snapshot_utils::get_snapshot_archive_path(
|
||||
snapshot_package_output_path,
|
||||
&(old_last_bank.slot(), old_last_bank.get_accounts_hash()),
|
||||
&ArchiveFormat::TarBzip2,
|
||||
ArchiveFormat::TarBzip2,
|
||||
),
|
||||
ArchiveFormat::TarBzip2,
|
||||
old_genesis_config,
|
||||
@@ -385,7 +385,7 @@ mod tests {
|
||||
saved_archive_path = Some(snapshot_utils::get_snapshot_archive_path(
|
||||
snapshot_package_output_path,
|
||||
&(slot, accounts_hash),
|
||||
&ArchiveFormat::TarBzip2,
|
||||
ArchiveFormat::TarBzip2,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user