From 22f5525ecfe81f12060e6155d9f0f0cb8824dcd4 Mon Sep 17 00:00:00 2001 From: Ayush <> Date: Tue, 12 Oct 2021 11:48:51 +0530 Subject: [PATCH 1/2] Added Key in subcommand --- polkadot-parachains/src/cli.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index 20ec95676d9..0b4bf720323 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -54,6 +54,9 @@ pub enum Subcommand { /// The custom benchmark subcommmand benchmarking runtime pallets. #[structopt(name = "benchmark", about = "Benchmark runtime pallets.")] Benchmark(frame_benchmarking_cli::BenchmarkCmd), + + /// Key management CLI utilities + Key(sc_cli::KeySubcommand), } /// Command for exporting the genesis state of the parachain From ae8b6fcfcc664c0b38a91b1290de9706a1bd6843 Mon Sep 17 00:00:00 2001 From: Ayush Mishra Date: Tue, 12 Oct 2021 17:07:10 +0530 Subject: [PATCH 2/2] Update command.rs --- polkadot-parachains/src/command.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 5a238287e54..753f1bbc5df 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -399,6 +399,7 @@ pub fn run() -> Result<()> { You can enable it with `--features runtime-benchmarks`." .into()) }, + Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?), None => { let runner = cli.create_runner(&cli.run.normalize())?;