diff --git a/node/src/cli.rs b/node/src/cli.rs index aa20c69d4..ded282f51 100644 --- a/node/src/cli.rs +++ b/node/src/cli.rs @@ -51,7 +51,7 @@ pub enum Subcommand { PurgeChain(cumulus_client_cli::PurgeChainCmd), /// Export the genesis state of the parachain. - ExportGenesisState(cumulus_client_cli::ExportGenesisStateCommand), + ExportGenesisHead(cumulus_client_cli::ExportGenesisHeadCommand), /// Export the genesis wasm of the parachain. ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand), diff --git a/node/src/command.rs b/node/src/command.rs index 449302933..fc348e3b3 100644 --- a/node/src/command.rs +++ b/node/src/command.rs @@ -419,7 +419,7 @@ pub fn run() -> Result<()> { cmd.run(config, polkadot_config) }) }, - Some(Subcommand::ExportGenesisState(cmd)) => + Some(Subcommand::ExportGenesisHead(cmd)) => construct_async_run!(|components, cli, cmd, config| { Ok(async move { cmd.run(&*config.chain_spec, &*components.client) }) }),