solana/accounts-db
Yueh-Hsuan Chiang 66b72a61be
TieredStorage struct (5/N) -- tests for write_accounts (#32850)
#### Problem
Having a PR that is self-contained with a big picture while having it testable
for TieredStorage::write_accounts is challenging, as it requires all the write-side
code, read-side code, and test code.

#### Summary of Changes
This PR solves part of the problem by having one dedicated PR for tests.
Specifically, it includes test utils that allow us to generate test accounts,
invoke write_accounts, and verify the written tiered-storage instance.

With this PR, it will be easier to write future PRs. 

#### Test Plan
A new set of unit-tests and test utils is included in this PR.
2023-08-18 11:29:53 -07:00
..
src TieredStorage struct (5/N) -- tests for write_accounts (#32850) 2023-08-18 11:29:53 -07:00
Cargo.toml dcou: make internal function `pub` conditionally (#32822) 2023-08-13 14:12:20 +09:00
build.rs Move accounts-db code to its own crate (#32766) 2023-08-09 13:03:36 -07:00