-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add migration idempotency checks #48
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! I will try it.
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
As a follow up: we can mock the host function |
Oh this will be very useful also for silencing logs when measuring PoV. Thanks! |
Closes #42
Checks that
on_runtime_upgrade
succeeds when called twice, and if it does succeed after being called twice, the storage state root did not change.