Remove AccessType arg from create_new_ledger (#23591)
Creating a new ledger implicitly means that no other process could have previously held access to it. Additionally, creating a new ledger implicitly requires writing, so it follows that Primary access is required and we can drop access type as an argument.
This commit is contained in:
@ -582,7 +582,6 @@ impl TestValidator {
|
||||
config
|
||||
.max_genesis_archive_unpacked_size
|
||||
.unwrap_or(MAX_GENESIS_ARCHIVE_UNPACKED_SIZE),
|
||||
solana_ledger::blockstore_db::AccessType::PrimaryOnly,
|
||||
BlockstoreAdvancedOptions::default(),
|
||||
)
|
||||
.map_err(|err| {
|
||||
|
Reference in New Issue
Block a user