Skip to content
Snippets Groups Projects
Commit 6ff42a30 authored by Éloïs's avatar Éloïs
Browse files

gdev: embed gdev genesis in the binary

parent 2a3a636c
No related branches found
No related tags found
No related merge requests found
......@@ -69,10 +69,9 @@ impl SubstrateCli for Cli {
#[cfg(feature = "gdev")]
"gdev-gl" | "gdev_gl" => Box::new(chain_spec::gdev::gen_live_conf()?),
#[cfg(feature = "gdev")]
"gdev" => {
unimplemented!()
//Box::new(chain_spec::gdev::ChainSpec::from_json_file(file_path)?)
}
"gdev" => Box::new(chain_spec::gdev::ChainSpec::from_json_bytes(
&include_bytes!("../specs/gdev-raw.json")[..],
)?),
#[cfg(feature = "gtest")]
"gtest_dev" => Box::new(chain_spec::gtest::development_chain_spec()?),
#[cfg(feature = "gtest")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment