From 04904b2bfa9f52f8af93fa6e6615c126b831c30d Mon Sep 17 00:00:00 2001 From: EleisonC Date: Sun, 1 Dec 2024 09:00:04 +0300 Subject: [PATCH] remove unused code --- templates/minimal/runtime/tests/validate_dev_chain_spec.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/templates/minimal/runtime/tests/validate_dev_chain_spec.rs b/templates/minimal/runtime/tests/validate_dev_chain_spec.rs index 2a75222cb208..19a358709860 100644 --- a/templates/minimal/runtime/tests/validate_dev_chain_spec.rs +++ b/templates/minimal/runtime/tests/validate_dev_chain_spec.rs @@ -1,5 +1,3 @@ -use codec::Decode; -use sp_version::RuntimeVersion; use polkadot_sdk::*; use minimal_template_runtime::WASM_BINARY; use sc_service::ChainType; @@ -9,9 +7,7 @@ use sc_chain_spec::{ Properties, }; use serde::{Deserialize, Serialize}; -use serde_json::Value; use core::str; -use std::error::Error; use std::io::BufReader; pub type ChainSpec = sc_service::GenericChainSpec; @@ -50,8 +46,7 @@ fn test_minimal_dev_chain_spec_rt_validity() { .with_properties(properties.clone()) .build() .as_json(false) - .unwrap() - ).unwrap(); + .unwrap()).unwrap(); let existing_chain_spec_file = std::fs::File::open("../dev_chain_spec.json").expect("file should open. qed");