test-utils/chain-spec-builder: Add note to run builder in release mode (#3958)

This commit is contained in:
Max Inden
2019-10-29 20:41:43 +01:00
committed by Bastian Köcher
parent de711ac188
commit 6ee284ec5e
3 changed files with 31 additions and 0 deletions
@@ -207,6 +207,13 @@ fn print_seeds(
}
fn main() -> Result<(), String> {
#[cfg(build_type="debug")]
println!(
"The chain spec builder builds a chain specification that includes a Substrate runtime compiled as WASM. To \
ensure proper functioning of the included runtime compile (or run) the chain spec builder binary in \
`--release` mode.\n",
);
let builder = ChainSpecBuilder::from_args();
let chain_spec_path = builder.chain_spec_path().to_path_buf();