hedera-mirror-node
hedera-mirror-node copied to clipboard
Add AliasesDatabaseReadableKVState for reading account aliases
Problem
We need to add a new type of database accessor to read account aliases, so that we have specific ReadableKVState instance for this type of data.
Solution
Add AliasesDatabaseReadableKVState class that reads account ids by aliases and converts them to AccountID PBJ type.
Add unit tests to cover all cases including historical reads and correct mapping for all fields.
Alternatives
No response