Skip to content

Commit aa7db08

Browse files
authored
Merge pull request #961 from subspace/add-gemini-3a-raw-spec
add gemini-3a chain spec with bootstrap nodes
2 parents 409f2bb + d2631c5 commit aa7db08

File tree

3 files changed

+122
-134
lines changed

3 files changed

+122
-134
lines changed

crates/subspace-node/res/chain-spec-raw-gemini-2a.json

Lines changed: 0 additions & 131 deletions
This file was deleted.

crates/subspace-node/res/chain-spec-raw-gemini-3a.json

Lines changed: 120 additions & 0 deletions
Large diffs are not rendered by default.

crates/subspace-node/src/chain_spec.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ use subspace_runtime_primitives::{AccountId, Balance, BlockNumber, SSC};
3131
use system_domain_runtime::GenesisConfig as SystemDomainGenesisConfig;
3232

3333
const SUBSPACE_TELEMETRY_URL: &str = "wss://telemetry.subspace.network/submit/";
34-
// TODO: replace raw-gemini-2a with raw-gemini-3a
35-
// const GEMINI_2A_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-2a.json");
34+
const GEMINI_3A_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3a.json");
3635
const X_NET_2_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-x-net-2.json");
3736

3837
/// List of accounts which should receive token grants, amounts are specified in SSC.
@@ -71,7 +70,7 @@ struct GenesisParams {
7170
}
7271

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

7776
pub fn gemini_3a_compiled(

0 commit comments

Comments
 (0)