domain_test_service/
chain_spec.rs

1//! Chain specification for the domain test runtime.
2
3use sc_service::{ChainType, GenericChainSpec};
4
5/// Create chain spec
6pub fn create_domain_spec() -> GenericChainSpec {
7    GenericChainSpec::builder(
8        // Code doesn't matter, it will be replaced before running just like genesis storage
9        &[],
10        None,
11    )
12    .with_name("Local Testnet")
13    .with_id("local_testnet")
14    .with_chain_type(ChainType::Local)
15    .build()
16}