Skip to content

Commit

Permalink
add gemini-3c raw spec (#1074)
Browse files Browse the repository at this point in the history
* add gemini-3c raw spec
  • Loading branch information
vedhavyas authored Jan 18, 2023
1 parent 4618c75 commit 39a4bae
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 121 deletions.
119 changes: 0 additions & 119 deletions crates/subspace-node/res/chain-spec-raw-gemini-3b.json

This file was deleted.

123 changes: 123 additions & 0 deletions crates/subspace-node/res/chain-spec-raw-gemini-3c.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions crates/subspace-node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use subspace_runtime_primitives::{AccountId, Balance, BlockNumber, SSC};
use system_domain_runtime::GenesisConfig as SystemDomainGenesisConfig;

const SUBSPACE_TELEMETRY_URL: &str = "wss://telemetry.subspace.network/submit/";
// const GEMINI_3B_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3b.json");
const GEMINI_3C_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3c.json");
const X_NET_2_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-x-net-2.json");

/// List of accounts which should receive token grants, amounts are specified in SSC.
Expand Down Expand Up @@ -71,7 +71,7 @@ struct GenesisParams {
}

pub fn gemini_3c() -> Result<ConsensusChainSpec<GenesisConfig, SystemDomainGenesisConfig>, String> {
unimplemented!("please run gemini-3c compiled chain")
ConsensusChainSpec::from_json_bytes(GEMINI_3C_CHAIN_SPEC)
}

pub fn gemini_3c_compiled(
Expand Down

0 comments on commit 39a4bae

Please sign in to comment.