Skip to content

Commit

Permalink
Build mainnet-pre spec (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuchengxu authored Nov 18, 2020
1 parent dc10dd5 commit 8aba821
Show file tree
Hide file tree
Showing 2 changed files with 21,962 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cli/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,11 @@ pub fn testnet_config() -> Result<ChainSpec, String> {
}

pub fn mainnet_pre_config() -> Result<ChainSpec, String> {
ChainSpec::from_json_bytes(&include_bytes!("./res/mainnet-pre-dist.json")[..])
}

#[allow(unused)]
pub fn mainnet_pre_config_raw() -> Result<ChainSpec, String> {
let wasm_binary = WASM_BINARY.ok_or("Development wasm binary not available".to_string())?;

// 5HNeqQYeyqcaBTHHjSbFnEvhCeg6jKcRrV2zeHgXQhvjK8XY
Expand Down
Loading

0 comments on commit 8aba821

Please sign in to comment.