Skip to content

Commit 1269569

Browse files
rphmeierpepyakin
authored andcommitted
node: add Kusama chain-spec
1 parent 6022499 commit 1269569

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

sugondat-chain/node/src/chain_spec/res/blobs_kusama.json

Lines changed: 65 additions & 0 deletions
Large diffs are not rendered by default.

sugondat-chain/node/src/command.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {
2222
"dev" => Box::new(chain_spec::development_config()),
2323
"sugondat-rococo" => Box::new(chain_spec::local_testnet_config()),
2424
"sugondat-kusama-staging" => Box::new(chain_spec::kusama_staging_config()),
25+
"sugondat-kusama" => Box::new(chain_spec::KusamaRuntimeChainSpec::from_json_bytes(
26+
&include_bytes!("chain_spec/res/blobs_kusama.json")[..],
27+
)?),
2528
"" | "local" => Box::new(chain_spec::local_testnet_config()),
2629
path => Box::new(chain_spec::GenericChainSpec::from_json_file(
2730
std::path::PathBuf::from(path),

0 commit comments

Comments
 (0)