Skip to content
This repository was archived by the owner on Sep 22, 2022. It is now read-only.
This repository was archived by the owner on Sep 22, 2022. It is now read-only.

Move most of storage items that return Vec-s to offchain worker DB #3

@siman

Description

@siman

We have around 10 storage items that return Vec of ids, like replyIdsByPostIds. These vecs are not used in runtime logic and mostly consumed by the clients (for example Subsocial's UI).

By moving them to offchain we will speedup a read-time from DB and save the blockchain storage space.

By offchain DB, I mean the high performance key-value DB that is available to Substrate's offchain worker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions