From 6af036896c479d89b1631ce2972578cd51b6ec5e Mon Sep 17 00:00:00 2001 From: Honza <115138297+Supremesource@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:40:20 -0300 Subject: [PATCH] wip --- xtask/src/mainnet_spec.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xtask/src/mainnet_spec.rs b/xtask/src/mainnet_spec.rs index aba97513..244746ef 100644 --- a/xtask/src/mainnet_spec.rs +++ b/xtask/src/mainnet_spec.rs @@ -94,10 +94,9 @@ type OpaqueBlock = Block, OpaqueExtrinsic>; // } async fn create_mainnet_spec() -> Box { - let mut chain_spec = sc_service::GenericChainSpec::>::from_json_bytes( - include_bytes!("../../node/chain-specs/main.json"), - ) - .unwrap(); + let mut chain_spec = + sc_service::ChainSpec::from_json_bytes(include_bytes!("../../node/chain-specs/main.json")) + .unwrap(); let api = "wss://api.communeai.net".to_string();