-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add flag to see storage diff if idemptotent check fails (#78)
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](https://github.com/paritytech/try-runtime-cli/assets/44604217/1ae51887-6d26-411a-8874-23924b5cb536) --------- Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Liam Aharon <[email protected]>
- Loading branch information
1 parent
7abe31b
commit 8762d74
Showing
4 changed files
with
81 additions
and
7 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ resolver = "2" | |
members = ["cli", "core"] | ||
|
||
[workspace.package] | ||
version = "0.5.4" | ||
version = "0.6.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
description = "Substrate's programmatic testing framework." | ||
edition = "2021" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters