Skip to content

Commit

Permalink
Merge pull request #3036 from autonomys/remove-gemini-3h-chain-spec
Browse files Browse the repository at this point in the history
Remove Gemini 3h chain spec
  • Loading branch information
nazar-pc committed Sep 19, 2024
2 parents a1e3082 + bdf3544 commit 0041146
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 199 deletions.
195 changes: 0 additions & 195 deletions crates/sc-subspace-chain-specs/res/chain-spec-raw-gemini-3h.json

This file was deleted.

2 changes: 0 additions & 2 deletions crates/sc-subspace-chain-specs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@

/// Devnet chain spec
pub const DEVNET_CHAIN_SPEC: &str = include_str!("../res/chain-spec-raw-devnet.json");
/// Gemini 3h chain spec
pub const GEMINI_3H_CHAIN_SPEC: &str = include_str!("../res/chain-spec-raw-gemini-3h.json");
4 changes: 2 additions & 2 deletions crates/subspace-node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use crate::domain::cli::{GenesisDomain, SpecId};
use crate::domain::evm_chain_spec::{self};
use sc_chain_spec::GenericChainSpec;
use sc_service::ChainType;
use sc_subspace_chain_specs::{DEVNET_CHAIN_SPEC, GEMINI_3H_CHAIN_SPEC};
use sc_subspace_chain_specs::DEVNET_CHAIN_SPEC;
use sc_telemetry::TelemetryEndpoints;
use sp_consensus_subspace::FarmerPublicKey;
use sp_core::crypto::{Ss58Codec, UncheckedFrom};
Expand Down Expand Up @@ -139,7 +139,7 @@ pub fn gemini_3h_compiled() -> Result<GenericChainSpec, String> {
}

pub fn gemini_3h_config() -> Result<GenericChainSpec, String> {
GenericChainSpec::from_json_bytes(GEMINI_3H_CHAIN_SPEC.as_bytes())
Err("Gemini 3h is not supported".to_string())
}

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

0 comments on commit 0041146

Please sign in to comment.