This repository has been archived by the owner on Jan 22, 2025. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TieredStorage] Use RENT_EXEMPT_RENT_EPOCH in HotStorageWriter (#34950)
#### Problem In HotStorageWriter::write_accounts, it skips storing rent-epoch when the rent-epoch equals Epoch::MAX. While the value is correct, it is more suitable to use RENT_EXEMPT_RENT_EPOCH instead as the goal here is to save bytes for rent-exempt accounts. #### Summary of Changes Replace Epoch::MAX by RENT_EXEMPT_RENT_EPOCH when checking whether to skip storing rent-epoch in HotStorageWriter.
- Loading branch information