ledger tool limit_load_slot_count_from_snapshot avoids assert failures (#17974)
This commit is contained in:
committed by
GitHub
parent
0323ea9f7e
commit
dbd4dc04b0
@ -61,6 +61,7 @@ fn test_accounts_create(bencher: &mut Bencher) {
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
);
|
||||
bencher.iter(|| {
|
||||
let mut pubkeys: Vec<Pubkey> = vec![];
|
||||
@ -81,6 +82,7 @@ fn test_accounts_squash(bencher: &mut Bencher) {
|
||||
AccountSecondaryIndexes::default(),
|
||||
false,
|
||||
AccountShrinkThreshold::default(),
|
||||
false,
|
||||
));
|
||||
let mut pubkeys: Vec<Pubkey> = vec![];
|
||||
deposit_many(&prev_bank, &mut pubkeys, 250_000).unwrap();
|
||||
|
Reference in New Issue
Block a user