Add secondary indexes (#14212)

This commit is contained in:
carllin
2020-12-31 18:06:03 -08:00
committed by GitHub
parent 4a3d217839
commit 5affd8aa72
20 changed files with 1875 additions and 234 deletions

View File

@ -59,7 +59,10 @@ mod tests {
signature::{Keypair, Signer},
system_transaction,
};
use std::{fs, path::PathBuf, sync::atomic::AtomicBool, sync::mpsc::channel, sync::Arc};
use std::{
collections::HashSet, fs, path::PathBuf, sync::atomic::AtomicBool, sync::mpsc::channel,
sync::Arc,
};
use tempfile::TempDir;
DEFINE_SNAPSHOT_VERSION_PARAMETERIZED_TEST_FUNCTIONS!(V1_2_0, Development, V1_2_0_Development);
@ -93,6 +96,7 @@ mod tests {
&[],
None,
None,
HashSet::new(),
);
bank0.freeze();
let mut bank_forks = BankForks::new(bank0);
@ -148,6 +152,7 @@ mod tests {
old_genesis_config,
None,
None,
HashSet::new(),
)
.unwrap();