From f7264c01cafe70490e7bdbe3a0c166fc759767f4 Mon Sep 17 00:00:00 2001 From: paulo Date: Thu, 25 Jul 2024 22:33:28 +0100 Subject: [PATCH] fix people polkadot support --- src/runtimes/support.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/runtimes/support.rs b/src/runtimes/support.rs index 175f250..170e107 100644 --- a/src/runtimes/support.rs +++ b/src/runtimes/support.rs @@ -41,7 +41,7 @@ impl SupportedRuntime { pub fn is_people_runtime_available(&self) -> bool { match &self { - Self::Polkadot => false, + Self::Polkadot => true, Self::Kusama => true, Self::Westend => false, } @@ -101,8 +101,7 @@ impl SupportedParasRuntime { pub fn default_rpc_url(&self) -> String { let config = CONFIG.clone(); match &self { - Self::PeopleKusama => config.substrate_people_ws_url, - _ => unimplemented!("Chain not supported"), + _ => config.substrate_people_ws_url, } } }