mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 23:47:56 +00:00
This reverts commit 64dda775f4.
This commit is contained in:
@@ -51,10 +51,6 @@ pub struct RunCmd {
|
||||
#[arg(long)]
|
||||
pub no_grandpa: bool,
|
||||
|
||||
/// Disable BEEFY voter when running in validator mode, otherwise disable the BEEFY observer.
|
||||
#[arg(long)]
|
||||
pub no_beefy: bool,
|
||||
|
||||
/// Listen to all RPC interfaces.
|
||||
/// Default is local. Note: not all RPC methods are safe to be exposed publicly. Use an RPC
|
||||
/// proxy server to filter out dangerous methods. More details:
|
||||
@@ -317,10 +313,6 @@ impl CliConfiguration for RunCmd {
|
||||
Ok(self.no_grandpa)
|
||||
}
|
||||
|
||||
fn disable_beefy(&self) -> Result<bool> {
|
||||
Ok(self.no_beefy)
|
||||
}
|
||||
|
||||
fn rpc_max_connections(&self) -> Result<u32> {
|
||||
Ok(self.rpc_max_connections)
|
||||
}
|
||||
|
||||
@@ -381,13 +381,6 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
|
||||
Ok(Default::default())
|
||||
}
|
||||
|
||||
/// Returns `Ok(true)` if BEEFY should be disabled
|
||||
///
|
||||
/// By default this is `false`.
|
||||
fn disable_beefy(&self) -> Result<bool> {
|
||||
Ok(Default::default())
|
||||
}
|
||||
|
||||
/// Get the development key seed from the current object
|
||||
///
|
||||
/// By default this is `None`.
|
||||
@@ -515,7 +508,6 @@ pub trait CliConfiguration<DCV: DefaultConfigurationValues = ()>: Sized {
|
||||
offchain_worker: self.offchain_worker(&role)?,
|
||||
force_authoring: self.force_authoring()?,
|
||||
disable_grandpa: self.disable_grandpa()?,
|
||||
disable_beefy: self.disable_beefy()?,
|
||||
dev_key_seed: self.dev_key_seed(is_dev)?,
|
||||
tracing_targets: self.tracing_targets()?,
|
||||
tracing_receiver: self.tracing_receiver()?,
|
||||
|
||||
@@ -280,7 +280,6 @@ mod tests {
|
||||
offchain_worker: Default::default(),
|
||||
force_authoring: false,
|
||||
disable_grandpa: false,
|
||||
disable_beefy: false,
|
||||
dev_key_seed: None,
|
||||
tracing_targets: None,
|
||||
tracing_receiver: Default::default(),
|
||||
|
||||
Reference in New Issue
Block a user