Skip to content

Commit

Permalink
Merge pull request #961 from subspace/add-gemini-3a-raw-spec
Browse files Browse the repository at this point in the history
add gemini-3a chain spec with bootstrap nodes
  • Loading branch information
nazar-pc authored Nov 29, 2022
2 parents 409f2bb + d2631c5 commit aa7db08
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 134 deletions.
131 changes: 0 additions & 131 deletions crates/subspace-node/res/chain-spec-raw-gemini-2a.json

This file was deleted.

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

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions crates/subspace-node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +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/";
// TODO: replace raw-gemini-2a with raw-gemini-3a
// const GEMINI_2A_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-2a.json");
const GEMINI_3A_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3a.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 +70,7 @@ struct GenesisParams {
}

pub fn gemini_3a() -> Result<ConsensusChainSpec<GenesisConfig, SystemDomainGenesisConfig>, String> {
unimplemented!("gemini_3a raw chain spec")
ConsensusChainSpec::from_json_bytes(GEMINI_3A_CHAIN_SPEC)
}

pub fn gemini_3a_compiled(
Expand Down

0 comments on commit aa7db08

Please sign in to comment.