From 7c5e3459dcee1ec232be7b60d0623c1ebfe92178 Mon Sep 17 00:00:00 2001 From: Ahmad Kaouk <56095276+ahmadkaouk@users.noreply.github.com> Date: Thu, 11 Sep 2025 12:31:40 +0200 Subject: [PATCH] fix: select correct runtime in Libp2p branch for testnet and stagenet (#157) Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com> --- operator/node/src/command.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/operator/node/src/command.rs b/operator/node/src/command.rs index f9dd7cd4..5129f5ab 100644 --- a/operator/node/src/command.rs +++ b/operator/node/src/command.rs @@ -335,16 +335,16 @@ pub fn run() -> sc_cli::Result<()> { } ref spec if spec.is_testnet() => { service::new_full::< - datahaven_mainnet_runtime::Runtime, - datahaven_mainnet_runtime::RuntimeApi, + datahaven_testnet_runtime::Runtime, + datahaven_testnet_runtime::RuntimeApi, sc_network::NetworkWorker<_, _>, >(config, cli.eth, provider_options) .await } _ => { service::new_full::< - datahaven_mainnet_runtime::Runtime, - datahaven_mainnet_runtime::RuntimeApi, + datahaven_stagenet_runtime::Runtime, + datahaven_stagenet_runtime::RuntimeApi, sc_network::NetworkWorker<_, _>, >(config, cli.eth, provider_options) .await