Skip to content

Feat: Add try_state invariants to pallets #1846

@wischli

Description

@wischli

Description

So far, we have not made use of the try_state hooks which are part of the try-runtime feature. It provides checks which should ensure that the state of the pallet is consistent and correct. Usually, these checks should check all of the invariants that are expected to be held on all of the storage items of some particular pallet. This hook should not alter any storage though.

This issue should serve as an entry point and only be closed once we have try_state implemented for all pallets or decided certain pallets don't need it.

Research/based on

How will this affect the code base

  • Improves stability

What are foreseen obstacles or hurdles to overcome?

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