From 861c03bd1967642a31a86f9bcf82713202055bb9 Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Mon, 2 Oct 2023 10:43:18 +0100 Subject: [PATCH 1/3] v0.1.3 --- parachain/node/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parachain/node/Cargo.toml b/parachain/node/Cargo.toml index 22068856f..258c6ab7e 100644 --- a/parachain/node/Cargo.toml +++ b/parachain/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hyperbridge" -version = "0.1.2" +version = "0.1.3" authors = ["Polytope Labs "] description = "The Hyperbridge parachain node" edition = "2021" From 2430e763ca81c050f95e25d6f8643c2710d28d7b Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Mon, 2 Oct 2023 11:00:23 +0100 Subject: [PATCH 2/3] bump cargo.lock --- Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 4fef203c7..d5dac9024 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4834,7 +4834,7 @@ dependencies = [ [[package]] name = "hyperbridge" -version = "0.1.2" +version = "0.1.3" dependencies = [ "clap", "cumulus-client-cli", From c3e842dc918131b618713150c681ccc9f9509beb Mon Sep 17 00:00:00 2001 From: David Salami Date: Mon, 2 Oct 2023 14:18:16 +0100 Subject: [PATCH 3/3] fix relaychain rpc address --- parachain/node/src/command.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/parachain/node/src/command.rs b/parachain/node/src/command.rs index e884a33b9..c775b0c8a 100644 --- a/parachain/node/src/command.rs +++ b/parachain/node/src/command.rs @@ -10,6 +10,7 @@ use sc_cli::{ }; use sc_service::config::{BasePath, PrometheusConfig}; use sp_runtime::traits::AccountIdConversion; +use std::net::SocketAddr; use crate::{ chain_spec, @@ -336,6 +337,10 @@ impl CliConfiguration for RelayChainCli { .or_else(|| self.base_path.clone().map(Into::into))) } + fn rpc_addr(&self, default_listen_port: u16) -> Result> { + self.base.base.rpc_addr(default_listen_port) + } + fn prometheus_config( &self, default_listen_port: u16, @@ -379,6 +384,10 @@ impl CliConfiguration for RelayChainCli { self.base.base.rpc_methods() } + fn rpc_max_connections(&self) -> Result { + self.base.base.rpc_max_connections() + } + fn rpc_cors(&self, is_dev: bool) -> Result>> { self.base.base.rpc_cors(is_dev) }