Skip to content
Snippets Groups Projects
Commit d65e46fd authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix(#125): fix: --chain=gdev should require `gdev` feature

parent 204224e8
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ impl SubstrateCli for Cli { ...@@ -124,7 +124,7 @@ impl SubstrateCli for Cli {
)?), )?),
// hardcoded previously generated raw chainspecs // hardcoded previously generated raw chainspecs
// yields a pointlessly heavy binary because of hexadecimal-text-encoded values // yields a pointlessly heavy binary because of hexadecimal-text-encoded values
#[cfg(all(feature = "gtest", feature = "embed"))] #[cfg(all(feature = "gdev", feature = "embed"))]
"gdev" => Box::new(chain_spec::gdev::ChainSpec::from_json_bytes( "gdev" => Box::new(chain_spec::gdev::ChainSpec::from_json_bytes(
&include_bytes!("../specs/gdev-raw.json")[..], &include_bytes!("../specs/gdev-raw.json")[..],
)?), )?),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment