Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
EleisonC committed Dec 1, 2024
1 parent f748e0b commit 04904b2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions templates/minimal/runtime/tests/validate_dev_chain_spec.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
use codec::Decode;
use sp_version::RuntimeVersion;
use polkadot_sdk::*;
use minimal_template_runtime::WASM_BINARY;
use sc_service::ChainType;
Expand All @@ -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<Extensions>;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 04904b2

Please sign in to comment.