Skip to content

Commit

Permalink
add gemini-3f raw chainspec
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhavyas committed Aug 16, 2023
1 parent e43faf3 commit 7745e54
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 1 deletion.
160 changes: 160 additions & 0 deletions crates/subspace-node/res/chain-spec-raw-gemini-3f.json

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion crates/subspace-node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ use subspace_runtime_primitives::{AccountId, Balance, BlockNumber, SSC};

const SUBSPACE_TELEMETRY_URL: &str = "wss://telemetry.subspace.network/submit/";
const DEVNET_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-devnet.json");
const GEMINI_3F_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3f.json");

/// List of accounts which should receive token grants, amounts are specified in SSC.
const TOKEN_GRANTS: &[(&str, u128)] = &[
Expand Down Expand Up @@ -172,7 +173,7 @@ pub fn gemini_3f_compiled() -> Result<ConsensusChainSpec<GenesisConfig>, String>
}

pub fn gemini_3f_config() -> Result<ConsensusChainSpec<GenesisConfig>, String> {
Err("Gemini 3f chainspec is yet to be compiled".to_string())
ConsensusChainSpec::from_json_bytes(GEMINI_3F_CHAIN_SPEC)
}

pub fn devnet_config() -> Result<ConsensusChainSpec<GenesisConfig>, String> {
Expand Down

0 comments on commit 7745e54

Please sign in to comment.