We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2255861 commit 3ed4dbbCopy full SHA for 3ed4dbb
node/cli/src/command.rs
@@ -19,6 +19,8 @@
19
// Disable the following lints
20
#![allow(clippy::borrowed_box)]
21
22
+use std::net::SocketAddr;
23
+
24
use crate::cli::{Cli, RelayChainCli, Subcommand};
25
use cumulus_primitives_core::ParaId;
26
use frame_benchmarking_cli::{BenchmarkCmd, SUBSTRATE_REFERENCE_HARDWARE};
@@ -515,6 +517,10 @@ impl CliConfiguration<Self> for RelayChainCli {
515
517
.or_else(|| self.base_path.clone().map(Into::into)))
516
518
}
519
520
+ fn rpc_addr(&self, default_listen_port: u16) -> Result<Option<SocketAddr>> {
521
+ self.base.base.rpc_addr(default_listen_port)
522
+ }
523
524
fn prometheus_config(
525
&self,
526
default_listen_port: u16,
0 commit comments