Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow whitelisting some keys for idempotency check #79

Open
tmpolaczyk opened this issue Feb 20, 2024 · 0 comments
Open

Allow whitelisting some keys for idempotency check #79

tmpolaczyk opened this issue Feb 20, 2024 · 0 comments

Comments

@tmpolaczyk
Copy link
Contributor

tmpolaczyk commented Feb 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant