091fc820ba
* ancient append vec append creates big enough ancient append vecs * assert we write the correct # of bytes * fix tests * u64 align accounts bytes written * fix build * add tests * we don't need to align the store to u64. When we call `remaining_bytes` to calculate, for the last element, u64_align!(len) could be greater than capacity. However, because saturate_sub is used, we still get the correct answer of 0. Therefore, no need to align the storage to u64. * add comments * add shink test for min_size * remove dead code * fix build * reviews * add test for squash ancient vec overflow too much to fit into ideal av * add test for get_bytes on AccountToStore * clippy * modify test to assert 0 size of opposite --------- Co-authored-by: HaoranYi <haoran.yi@solana.com> |
||
---|---|---|
.. | ||
benches | ||
src | ||
store-tool | ||
Cargo.toml | ||
build.rs |