mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 09:07:57 +00:00
test-utils/chain-spec-builder: Add note to run builder in release mode (#3958)
This commit is contained in:
committed by
Bastian Köcher
parent
de711ac188
commit
6ee284ec5e
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user