solana-with-rpc-optimizations/runtime
Yueh-Hsuan Chiang a58b84ce95
[TieredStorage] TieredReadableAccount::data() (#32433)
#### Problem
While TieredReadableAccount implements ReadableAccount that
already includes `fn data(&self) -> &'a [u8]`, a `data()` function that
directly under TieredReadableAccount is still needed in order to
correctly link the lifetime of the returned value and its member
account_block.  Otherwise, cargo will complain lifetime may not
live long enough.

#### Summary of Changes
This PR adds TieredReadableAccount::data() that directly links the lifetime
of its account_block to the returned value.
2023-07-11 00:33:36 +08:00
..
benches Replace improper &Arc<...> with Arc<...> in Bank and Accounts (#31892) 2023-05-31 12:36:44 -05:00
src [TieredStorage] TieredReadableAccount::data() (#32433) 2023-07-11 00:33:36 +08:00
store-tool Replace AccountsFile::cloned_account by ReadableAccount::to_account_shared_data() (#32399) 2023-07-07 00:08:50 +08:00
tests Enable partitioned epoch reward by feature id (#32174) 2023-06-20 12:12:50 -05:00
.gitignore
Cargo.toml Move CostModel and CostTracker to its own crate (#32354) 2023-07-06 10:08:18 -07:00
build.rs