File tree 9 files changed +9
-21
lines changed
9 files changed +9
-21
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ hex-literal = { workspace = true, default-features = true }
22
22
log = { workspace = true , default-features = true }
23
23
serde = { features = [" derive" ], workspace = true , default-features = true }
24
24
serde_json = { workspace = true , default-features = true }
25
+ clap = { features = [" derive" ], workspace = true }
25
26
26
27
# Local
27
28
asset-hub-rococo-runtime = { workspace = true , default-features = true }
@@ -51,7 +52,6 @@ sp-keyring = { workspace = true, default-features = true }
51
52
xcm = { workspace = true , default-features = true }
52
53
53
54
# Cumulus
54
- clap = { features = [" derive" ], workspace = true }
55
55
cumulus-primitives-core = { workspace = true , default-features = true }
56
56
57
57
[build-dependencies ]
Original file line number Diff line number Diff line change 1
1
// Copyright (C) Parity Technologies (UK) Ltd.
2
2
// This file is part of Cumulus.
3
3
// SPDX-License-Identifier: Apache-2.0
4
- //
4
+
5
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
6
// you may not use this file except in compliance with the License.
7
7
// You may obtain a copy of the License at
8
8
//
9
- // http://www.apache.org/licenses/LICENSE-2.0
9
+ // http://www.apache.org/licenses/LICENSE-2.0
10
10
//
11
11
// Unless required by applicable law or agreed to in writing, software
12
12
// distributed under the License is distributed on an "AS IS" BASIS,
@@ -29,7 +29,6 @@ use polkadot_omni_node_lib::{
29
29
} ;
30
30
use sc_cli:: ExportChainSpecCmd ;
31
31
32
- /// Custom CLI configuration for metadata.
33
32
struct CliConfig ;
34
33
35
34
impl CliConfigT for CliConfig {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ impl Display for AuthoringPolicy {
82
82
#[ derive( Debug , clap:: Subcommand ) ]
83
83
pub enum Subcommand {
84
84
/// Build a chain specification.
85
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
85
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
86
86
#[ deprecated(
87
87
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
88
88
) ]
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ use std::path::PathBuf;
25
25
#[ derive( Debug , Parser ) ]
26
26
pub enum Subcommand {
27
27
/// Build a chain specification.
28
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
28
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
29
29
#[ deprecated(
30
30
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
31
31
) ]
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ pub enum Subcommand {
78
78
Sign ( sc_cli:: SignCmd ) ,
79
79
80
80
/// Build a chain specification.
81
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
81
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
82
82
#[ deprecated(
83
83
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
84
84
) ]
Original file line number Diff line number Diff line change @@ -66,14 +66,3 @@ impl ExportChainSpecCmd {
66
66
Ok ( ( ) )
67
67
}
68
68
}
69
- impl CliConfiguration for ExportChainSpecCmd {
70
- // If ExportChainSpecCmd doesn’t have shared_params, you must provide some implementation.
71
- fn shared_params ( & self ) -> & SharedParams {
72
- unimplemented ! ( "ExportChainSpecCmd does not implement shared_params" )
73
- }
74
-
75
- // Implement the chain_id method to return the chain identifier.
76
- fn chain_id ( & self , _is_dev : bool ) -> Result < String > {
77
- Ok ( self . chain . clone ( ) )
78
- }
79
- }
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ pub enum Subcommand {
59
59
Key ( sc_cli:: KeySubcommand ) ,
60
60
61
61
/// Build a chain specification.
62
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
62
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
63
63
#[ deprecated(
64
64
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
65
65
) ]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ use std::path::PathBuf;
6
6
#[ derive( Debug , clap:: Subcommand ) ]
7
7
pub enum Subcommand {
8
8
/// Build a chain specification.
9
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
9
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
10
10
#[ deprecated(
11
11
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
12
12
) ]
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ pub enum Subcommand {
15
15
Key ( sc_cli:: KeySubcommand ) ,
16
16
17
17
/// Build a chain specification.
18
- /// #[deprecated( note = " build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead")]
18
+ /// DEPRECATED: ` build-spec` command will be removed after 1/04/2026. Use ` export-chain-spec` command instead.
19
19
#[ deprecated(
20
20
note = "build-spec command will be removed after 1/04/2026. Use export-chain-spec command instead"
21
21
) ]
You can’t perform that action at this time.
0 commit comments