From b59875bd61507e488b911859df078ea3f35a299e Mon Sep 17 00:00:00 2001
From: "cmd[bot]" <41898282+github-actions[bot]@users.noreply.github.com>
Date: Sat, 8 Mar 2025 08:14:35 +0000
Subject: [PATCH] Update from github-actions[bot] running command 'fmt'

---
 polkadot/cli/src/cli.rs                                    | 4 +++-
 substrate/bin/node/cli/src/cli.rs                          | 4 +++-
 substrate/client/cli/src/commands/export_chain_spec_cmd.rs | 5 ++---
 templates/minimal/node/src/cli.rs                          | 4 +++-
 templates/parachain/node/src/cli.rs                        | 4 +++-
 templates/solochain/node/src/cli.rs                        | 4 +++-
 6 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/polkadot/cli/src/cli.rs b/polkadot/cli/src/cli.rs
index 3b3600dc38f..ad7ba14d284 100644
--- a/polkadot/cli/src/cli.rs
+++ b/polkadot/cli/src/cli.rs
@@ -25,7 +25,9 @@ use std::path::PathBuf;
 #[derive(Debug, Parser)]
 pub enum Subcommand {
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/substrate/bin/node/cli/src/cli.rs b/substrate/bin/node/cli/src/cli.rs
index 098b3d5cccc..dc253c5e4e7 100644
--- a/substrate/bin/node/cli/src/cli.rs
+++ b/substrate/bin/node/cli/src/cli.rs
@@ -78,7 +78,9 @@ pub enum Subcommand {
 	Sign(sc_cli::SignCmd),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/substrate/client/cli/src/commands/export_chain_spec_cmd.rs b/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
index 5537c3f0791..ae92fdbf874 100644
--- a/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
+++ b/substrate/client/cli/src/commands/export_chain_spec_cmd.rs
@@ -16,15 +16,15 @@
 // You should have received a copy of the GNU General Public License
 // along with this program. If not, see <https://www.gnu.org/licenses/>.
 
+use crate::{error::Result, BuildSpecCmd, CliConfiguration, NodeKeyParams, SharedParams};
 use clap::Parser;
 use sc_service::{chain_ops, ChainSpec};
 use std::{
 	fs,
 	io::{self, Write},
 	path::PathBuf,
+	thread::sleep,
 };
-use std::thread::sleep;
-use crate::{error::Result, BuildSpecCmd, CliConfiguration, NodeKeyParams, SharedParams};
 
 /// Export a chain-spec to a JSON file in plain or in raw storage format.
 ///
@@ -69,7 +69,6 @@ impl ExportChainSpecCmd {
 	}
 }
 impl CliConfiguration for ExportChainSpecCmd {
-
 	// If ExportChainSpecCmd doesn’t have shared_params, you must provide some implementation.
 	fn shared_params(&self) -> &SharedParams {
 		unimplemented!("ExportChainSpecCmd does not implement shared_params")
diff --git a/templates/minimal/node/src/cli.rs b/templates/minimal/node/src/cli.rs
index c07e74acc04..5f5fb42914d 100644
--- a/templates/minimal/node/src/cli.rs
+++ b/templates/minimal/node/src/cli.rs
@@ -59,7 +59,9 @@ pub enum Subcommand {
 	Key(sc_cli::KeySubcommand),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/templates/parachain/node/src/cli.rs b/templates/parachain/node/src/cli.rs
index d0ce9136414..7c8a8d65269 100644
--- a/templates/parachain/node/src/cli.rs
+++ b/templates/parachain/node/src/cli.rs
@@ -6,7 +6,9 @@ use std::path::PathBuf;
 #[derive(Debug, clap::Subcommand)]
 pub enum Subcommand {
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
diff --git a/templates/solochain/node/src/cli.rs b/templates/solochain/node/src/cli.rs
index d7edc2850fe..4df320ab187 100644
--- a/templates/solochain/node/src/cli.rs
+++ b/templates/solochain/node/src/cli.rs
@@ -15,7 +15,9 @@ pub enum Subcommand {
 	Key(sc_cli::KeySubcommand),
 
 	/// Build a chain specification.
-	#[deprecated(note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead")]
+	#[deprecated(
+		note = "build-spec will be removed after 1/04/2026. Use export-chain-spec instead"
+	)]
 	BuildSpec(sc_cli::BuildSpecCmd),
 
 	/// Export the chain specification.
-- 
GitLab