Skip to content

Conversation

@tmpolaczyk
Copy link
Contributor

When the idempotent migration check fails, users see this unhelpful error message:

❌ Migrations are not idempotent. Selectively remove migrations from Executive until you find the culprit.

This PR implements a flag to enable printing the differences in storage. It is disabled by default because users can ignore the "idempotent" warning if they want to. If the flag is disabled there is a log that suggests enabling it, improving the old message.

Captura desde 2024-02-20 13-59-48

Copy link
Member

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat!

@ggwpez ggwpez requested a review from liamaharon February 26, 2024 16:22
Copy link
Contributor

@liamaharon liamaharon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks @tmpolaczyk!

@liamaharon liamaharon merged commit 8762d74 into paritytech:main Feb 27, 2024
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

Successfully merging this pull request may close these issues.

3 participants