We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2004ce6 commit 5762fa0Copy full SHA for 5762fa0
crates/pop-chains/src/new_chain.rs
@@ -2,7 +2,7 @@
2
3
use crate::{
4
ChainTemplate, Config, Provider,
5
- generator::chain::{ChainSpec, Network},
+ generator::chain::ChainSpec,
6
utils::helpers::{sanitize, write_to_file},
7
};
8
use anyhow::Result;
@@ -73,9 +73,6 @@ pub fn instantiate_standard_template(
73
&target.join("node/src/chain_spec.rs"),
74
chainspec.render().expect("infallible").as_ref(),
75
)?;
76
- // Add network configuration
77
- let network = Network { node: "parachain-template-node".into() };
78
- write_to_file(&target.join("network.toml"), network.render().expect("infallible").as_ref())?;
79
Ok(tag)
80
}
81
0 commit comments