Skip to content

Allow whitelisting some keys for idempotency check #79

Open

Description

@tmpolaczyk

Recently we have had the try-runtime tool fail in tanssi because of a state mismatch when running the idempotent check. The cause was 2 keys in pallet system: events and eventsCount, which changed because one of our migrations emitted an event to signal the start of the migration. Since events don't really affect chain state, we would like to ignore them.

Not sure how to implement this, we could hardcode some known keys and ignore them in the state diff comparison, or simply allow users to pass some flag with a list of keys to ignore.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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