You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix CI check and remove try-runtime command (#3046)
* CI: Fix check-try-runtime
(preparation for the monorepo)
Warnings should be treated as errors here, since this is how it will
be done in the monorepo.
I expect to see two errors in this check now.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
* Allow deprecated
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
* Remove try-runtime command
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
* make it compile
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
* Remove try-runtime-cli dependency
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
---------
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \
243
-
You can enable it with `--features try-runtime`."
244
-
.into()),
219
+
Some(Subcommand::TryRuntime) => Err("The `try-runtime` subcommand has been migrated to a standalone CLI (https://github.com/paritytech/try-runtime-cli). It is no longer being maintained here and will be removed entirely some time after January 2024. Please remove this subcommand from your runtime and use the standalone CLI.".into()),
245
220
None => {
246
221
let runner = cli.create_runner(&cli.run.normalize())?;
247
222
let collator_options = cli.run.collator_options();
Some(Subcommand::TryRuntime) => Err("Try-runtime was not enabled when building the node. \
755
-
You can enable it with `--features try-runtime`."
756
-
.into()),
734
+
Some(Subcommand::TryRuntime) => Err("The `try-runtime` subcommand has been migrated to a standalone CLI (https://github.com/paritytech/try-runtime-cli). It is no longer being maintained here and will be removed entirely some time after January 2024. Please remove this subcommand from your runtime and use the standalone CLI.".into()),
757
735
Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?),
758
736
None => {
759
737
let runner = cli.create_runner(&cli.run.normalize())?;
0 commit comments