hedera-mirror-node icon indicating copy to clipboard operation
hedera-mirror-node copied to clipboard

Implement AccountDatabaseReadableKVState

Open IvanKavaldzhiev opened this issue 6 months ago • 0 comments

Problem

We should add AccountDatabaseReadableKVState, so that we can return accounts in PBJ format from DB.

Solution

Add AccountDatabaseReadableKVState in the following manner:

  • Copy AccountDatabaseAccessor logic as a starting point
  • Add repository queries for reading accounts from DB
  • Add a new converter between entity and account DTO types to PBJ, so that the returned object is compliant with the hedera.app state

Alternatives

No response

IvanKavaldzhiev avatar Sep 03 '24 08:09 IvanKavaldzhiev