Skip to content

Commit a6b31cc

Browse files
committed
Add gemini-1 chain spec from snapshot with production bootstrap nodes
1 parent 1d8772c commit a6b31cc

File tree

2 files changed

+122
-2
lines changed

2 files changed

+122
-2
lines changed

Diff for: crates/subspace-node/res/chain-spec-raw-gemini-1.json

+120
Large diffs are not rendered by default.

Diff for: crates/subspace-node/src/chain_spec.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use subspace_runtime_primitives::{AccountId, Balance, BlockNumber, SSC};
3636

3737
const POLKADOT_TELEMETRY_URL: &str = "wss://telemetry.polkadot.io/submit/";
3838
const SUBSPACE_TELEMETRY_URL: &str = "wss://telemetry.subspace.network/submit/";
39-
// const TESTNET_BOOTSTRAP_NODE: &str = "/dns/farm-rpc.subspace.network/tcp/30333/p2p/12D3KooWPjMZuSYj35ehced2MTJFf95upwpHKgKUrFRfHwohzJXr";
39+
const GEMINI_1_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-1.json");
4040

4141
/// List of accounts which should receive token grants, amounts are specified in SSC.
4242
const TOKEN_GRANTS: &[(&str, u128)] = &[
@@ -77,7 +77,7 @@ pub struct ChainSpecExtensions {
7777
pub type ConsensusChainSpec = SerializableChainSpec<GenesisConfig, ChainSpecExtensions>;
7878

7979
pub fn gemini_config() -> Result<ConsensusChainSpec, String> {
80-
todo!("Distribute the gemini ChainSpec once finalized")
80+
ConsensusChainSpec::from_json_bytes(GEMINI_1_CHAIN_SPEC)
8181
}
8282

8383
pub fn gemini_config_compiled() -> Result<ConsensusChainSpec, String> {

0 commit comments

Comments
 (0)