-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TieredStorage] Make AccountOffset a trait, introduce HotAccountOffset (
#34335) #### Problem Hot and cold accounts storage have different implementations of their offsets. As a result, a single struct AccountOffset isn't suitable to describe the offsets used by hot and cold accounts storage. #### Summary of Changes This PR makes AccountOffset a trait. On top of that, introduces HotAccountOffset that implements AccountOffset. #### Test Plan Updated existing unit-tests.
- Loading branch information
1 parent
aab12c3
commit 39a3566
Showing
3 changed files
with
96 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters