Skip to content

make reputation commitment an OptionQuery #356

@brenzi

Description

@brenzi

Option<H256>,
ValueQuery,

It is bad practise to combine an Option<_> with Value Query, because that makes it less intuitive to evaluate

  • if the storage exists (need to check if key exists, querying storage will default to None in two different cases: the storage has never been written, or None has actually been written

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions