accounts_index_bins to AccountsIndexConfig (#19257)

* accounts_index_bins to AccountsIndexConfig

* rename param bins -> config

* rename BINS_FOR* to ACCOUNTS_INDEX_CONFIG_FOR*
This commit is contained in:
Jeff Washington (jwash)
2021-08-17 14:50:01 -05:00
committed by GitHub
parent 2c648cc6b6
commit 7c70f2158b
17 changed files with 549 additions and 64 deletions

View File

@ -203,7 +203,7 @@ mod tests {
check_hash_calculation,
false,
false,
Some(solana_runtime::accounts_index::BINS_FOR_TESTING),
Some(solana_runtime::accounts_index::ACCOUNTS_INDEX_CONFIG_FOR_TESTING),
)
.unwrap();
@ -831,7 +831,7 @@ mod tests {
false,
false,
false,
Some(solana_runtime::accounts_index::BINS_FOR_TESTING),
Some(solana_runtime::accounts_index::ACCOUNTS_INDEX_CONFIG_FOR_TESTING),
)?;
assert_eq!(bank, &deserialized_bank);
@ -1011,7 +1011,7 @@ mod tests {
false,
false,
false,
Some(solana_runtime::accounts_index::BINS_FOR_TESTING),
Some(solana_runtime::accounts_index::ACCOUNTS_INDEX_CONFIG_FOR_TESTING),
)
.unwrap();