Add --trusted-validator support for snapshot hash validation (#8390) (#8393)

automerge
This commit is contained in:
mergify[bot]
2020-02-21 19:46:43 -08:00
committed by GitHub
parent df2b4d31b7
commit 2d0ee7e3dc
8 changed files with 135 additions and 32 deletions

View File

@@ -55,6 +55,7 @@ mod tests {
snapshot_interval_slots,
snapshot_package_output_path: PathBuf::from(snapshot_output_path.path()),
snapshot_path: PathBuf::from(snapshot_dir.path()),
trusted_validators: None,
};
bank_forks.set_snapshot_config(Some(snapshot_config.clone()));
SnapshotTestConfig {