mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 19:17:58 +00:00
try-runtime: run migration checks per default (#13684)
* try-runtime: run migration checks per default The current behaviour of having to explicetly specify --checks seems to cause confusion. Therefore bringing back the old behaviour of running the pre- and post-upgrade checks per default. Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix docs Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
committed by
GitHub
parent
2c77f8f4ca
commit
c6a9b81fad
@@ -40,8 +40,8 @@ pub struct OnRuntimeUpgradeCmd {
|
||||
/// Performing any checks will potentially invalidate the measured PoV/Weight.
|
||||
// NOTE: The clap attributes make it backwards compatible with the previous `--checks` flag.
|
||||
#[clap(long,
|
||||
default_value = "None",
|
||||
default_missing_value = "All",
|
||||
default_value = "pre-and-post",
|
||||
default_missing_value = "all",
|
||||
num_args = 0..=1,
|
||||
require_equals = true,
|
||||
verbatim_doc_comment)]
|
||||
|
||||
Reference in New Issue
Block a user