@@ -31,7 +31,8 @@ use subspace_runtime_primitives::{AccountId, Balance, BlockNumber, SSC};
3131use system_domain_runtime:: GenesisConfig as SystemDomainGenesisConfig ;
3232
3333const SUBSPACE_TELEMETRY_URL : & str = "wss://telemetry.subspace.network/submit/" ;
34- const GEMINI_3A_CHAIN_SPEC : & [ u8 ] = include_bytes ! ( "../res/chain-spec-raw-gemini-3a.json" ) ;
34+ // TODO: gemini-3b raw spec.
35+ // const GEMINI_3B_CHAIN_SPEC: &[u8] = include_bytes!("../res/chain-spec-raw-gemini-3a.json");
3536const X_NET_2_CHAIN_SPEC : & [ u8 ] = include_bytes ! ( "../res/chain-spec-raw-x-net-2.json" ) ;
3637
3738/// List of accounts which should receive token grants, amounts are specified in SSC.
@@ -69,18 +70,18 @@ struct GenesisParams {
6970 enable_executor : bool ,
7071}
7172
72- pub fn gemini_3a ( ) -> Result < ConsensusChainSpec < GenesisConfig , SystemDomainGenesisConfig > , String > {
73- ConsensusChainSpec :: from_json_bytes ( GEMINI_3A_CHAIN_SPEC )
73+ pub fn gemini_3b ( ) -> Result < ConsensusChainSpec < GenesisConfig , SystemDomainGenesisConfig > , String > {
74+ unimplemented ! ( "gemini_3b raw chain spec" )
7475}
7576
76- pub fn gemini_3a_compiled (
77+ pub fn gemini_3b_compiled (
7778) -> Result < ConsensusChainSpec < GenesisConfig , SystemDomainGenesisConfig > , String > {
7879 Ok ( ConsensusChainSpec :: from_genesis (
7980 // Name
80- "Subspace Gemini 3a " ,
81+ "Subspace Gemini 3b " ,
8182 // ID
82- "subspace_gemini_3a " ,
83- ChainType :: Custom ( "Subspace Gemini 3a " . to_string ( ) ) ,
83+ "subspace_gemini_3b " ,
84+ ChainType :: Custom ( "Subspace Gemini 3b " . to_string ( ) ) ,
8485 || {
8586 let sudo_account =
8687 AccountId :: from_ss58check ( "5CXTmJEusve5ixyJufqHThmy4qUrrm6FyLCR7QfE4bbyMTNC" )
@@ -148,13 +149,13 @@ pub fn gemini_3a_compiled(
148149 . map_err ( |error| error. to_string ( ) ) ?,
149150 ) ,
150151 // Protocol ID
151- Some ( "subspace-gemini-3a " ) ,
152+ Some ( "subspace-gemini-3b " ) ,
152153 None ,
153154 // Properties
154155 Some ( chain_spec_properties ( ) ) ,
155156 // Extensions
156157 ChainSpecExtensions {
157- execution_chain_spec : secondary_chain:: chain_spec:: gemini_3a_config ( ) ,
158+ execution_chain_spec : secondary_chain:: chain_spec:: gemini_3b_config ( ) ,
158159 } ,
159160 ) )
160161}
0 commit comments