mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 21:21:11 +00:00
Remove parachain-id cli command (#739)
This was never planned to be a permanent feature. This was mainly added for testing purposes, but now was copied by everybody. The users should be more specific about the para id and set this properly in the chain spec.
This commit is contained in:
@@ -125,10 +125,6 @@ pub struct RunCmd {
|
||||
#[structopt(flatten)]
|
||||
pub base: sc_cli::RunCmd,
|
||||
|
||||
/// Id of the parachain this collator collates for.
|
||||
#[structopt(long)]
|
||||
pub parachain_id: Option<u32>,
|
||||
|
||||
/// Run node as collator.
|
||||
///
|
||||
/// Note that this is the same as running with `--validator`.
|
||||
@@ -142,8 +138,6 @@ pub struct RunCmd {
|
||||
pub struct NormalizedRunCmd {
|
||||
/// The cumulus RunCmd inherents from sc_cli's
|
||||
pub base: sc_cli::RunCmd,
|
||||
/// Id of the parachain this collator collates for.
|
||||
pub parachain_id: Option<u32>,
|
||||
}
|
||||
|
||||
impl RunCmd {
|
||||
@@ -153,7 +147,7 @@ impl RunCmd {
|
||||
|
||||
new_base.validator = self.base.validator || self.collator;
|
||||
|
||||
NormalizedRunCmd { base: new_base, parachain_id: self.parachain_id }
|
||||
NormalizedRunCmd { base: new_base }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user