accounts default stragglers (#19101)
This commit is contained in:
parent
db14bcc43b
commit
1951fe4e80
|
@ -60,7 +60,7 @@ fn main() {
|
||||||
if fs::remove_dir_all(path.clone()).is_err() {
|
if fs::remove_dir_all(path.clone()).is_err() {
|
||||||
println!("Warning: Couldn't remove {:?}", path);
|
println!("Warning: Couldn't remove {:?}", path);
|
||||||
}
|
}
|
||||||
let accounts = Accounts::new_with_config(
|
let accounts = Accounts::new_with_config_for_benches(
|
||||||
vec![path],
|
vec![path],
|
||||||
&ClusterType::Testnet,
|
&ClusterType::Testnet,
|
||||||
AccountSecondaryIndexes::default(),
|
AccountSecondaryIndexes::default(),
|
||||||
|
|
|
@ -1344,12 +1344,6 @@ impl<'a> ReadableAccount for StoredAccountMeta<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for AccountsDb {
|
|
||||||
fn default() -> Self {
|
|
||||||
Self::default_with_accounts_index(AccountInfoAccountsIndex::new(BINS_DEFAULT))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
type GenerateIndexAccountsMap<'a> =
|
type GenerateIndexAccountsMap<'a> =
|
||||||
HashMap<Pubkey, (StoredMetaWriteVersion, AppendVecId, StoredAccountMeta<'a>)>;
|
HashMap<Pubkey, (StoredMetaWriteVersion, AppendVecId, StoredAccountMeta<'a>)>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue