Skip to content

Revisit ref account usage #784

@xlc

Description

@xlc

We have a new API: paritytech/substrate#8221

Also comment from Gav:

If it's keeping a deposit and/or introducing a lock on the account's funds, then it's already fine and no additional ref counting is needed. inc_consumer is specifically for instances where items relating to an account are placed in storage and no deposit is taken (so they're effectively piggybacking on the account's ED).

Double check our code & ORML to make sure we are doing the right thing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions