diff --git a/node/cli/src/command.rs b/node/cli/src/command.rs
index ed0519f9a..c9cfc26ba 100644
--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -16,6 +16,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see .
+use crate::{Cli, RelayChainCli, Subcommand};
use bifrost_service::{self as service, IdentifyVariant};
use cumulus_client_service::storage_proof_size::HostFunctions as ReclaimHostFunctions;
use cumulus_primitives_core::ParaId;
@@ -27,8 +28,7 @@ use sc_cli::{
};
use sc_service::config::{BasePath, PrometheusConfig};
use sp_runtime::traits::{AccountIdConversion, HashingFor};
-
-use crate::{Cli, RelayChainCli, Subcommand};
+use std::net::SocketAddr;
fn get_exec_name() -> Option {
std::env::current_exe()
@@ -612,6 +612,14 @@ impl CliConfiguration for RelayChainCli {
self.base.base.rpc_methods()
}
+ fn rpc_max_connections(&self) -> Result {
+ self.base.base.rpc_max_connections()
+ }
+
+ fn rpc_addr(&self, default_listen_port: u16) -> Result