solana-test-validator no longer limits the size of the genesis archive

When using `--clone` with a large number of accounts it is possible to
surpass the default 10MB limit
This commit is contained in:
Michael Vines
2021-12-03 10:12:22 -08:00
parent c9bfc99c72
commit 4dcf594856
2 changed files with 5 additions and 1 deletions

View File

@@ -507,6 +507,7 @@ fn main() {
let mut genesis = TestValidatorGenesis::default();
genesis.max_ledger_shreds = value_of(&matches, "limit_ledger_size");
genesis.max_genesis_archive_unpacked_size = Some(u64::MAX);
let tower_storage = Arc::new(FileTowerStorage::new(ledger_path.clone()));