Skip to content

Commit

Permalink
introduce messier chainspec
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Dec 22, 2023
1 parent 478d962 commit ad481a2
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 0 deletions.
62 changes: 62 additions & 0 deletions parachain/chainspec/messier.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions parachain/node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn ChainSpec>, String> {
name if name.contains("gargantua") => Box::new(chain_spec::ChainSpec::from_json_bytes(
include_bytes!("../../chainspec/gargantua.json").to_vec(),
)?),
"messier" => Box::new(chain_spec::ChainSpec::from_json_bytes(
include_bytes!("../../chainspec/messier.json").to_vec(),
)?),
path => Box::new(chain_spec::ChainSpec::from_json_file(std::path::PathBuf::from(path))?),
})
}
Expand Down

0 comments on commit ad481a2

Please sign in to comment.