Skip to content

Detect storage migration requirements in CI #233

Open
@ggwpez

Description

Sometimes it is not obvious if a type is stored in storage and would need a storage migration.
We can automate this detection with Subwasm by applying it to the Kitchensink runtime, which has all (?) pallets deployed.
Subwasm can detect metadata changes to storage definitions. Such a change always necessitate a migration.
We can then add a label or somehow silence the check one a migration was added.

I opened this issue here so we can play around with it a bit in Substrate, and once its proven to work roll it out to Polkadot and Cumulus as well.

Metadata

Assignees

No one assigned

    Labels

    I5-enhancementAn additional feature request.T1-FRAMEThis PR/Issue is related to core FRAME, the framework.

    Type

    No type

    Projects

    • Status

      Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions