Skip to content

Commit

Permalink
fix support chain-specs
Browse files Browse the repository at this point in the history
  • Loading branch information
paulormart committed Oct 1, 2024
1 parent 50d5504 commit e33a967
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions src/runtimes/support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@
// SOFTWARE.

use crate::config::CONFIG;
use crate::runtimes::{
// kusama, paseo,
polkadot,
// westend
};
use crate::runtimes::{kusama, paseo, polkadot, westend};
pub type ChainPrefix = u16;
pub type ChainTokenSymbol = String;

Expand All @@ -50,10 +46,9 @@ impl SupportedRuntime {
pub fn chain_specs(&self) -> &str {
match &self {
Self::Polkadot => polkadot::POLKADOT_SPEC,
_ => polkadot::POLKADOT_SPEC,
// Self::Kusama => kusama::KUSAMA_SPEC,
// Self::Westend => westend::WESTEND_SPEC,
// Self::Paseo => paseo::PASEO_SPEC,
Self::Kusama => kusama::KUSAMA_SPEC,
Self::Westend => westend::WESTEND_SPEC,
Self::Paseo => paseo::PASEO_SPEC,
}
}
}
Expand Down Expand Up @@ -132,10 +127,9 @@ impl SupportedParasRuntime {
pub fn chain_specs(&self) -> &str {
match &self {
Self::PeoplePolkadot => polkadot::PEOPLE_POLKADOT_SPEC,
_ => polkadot::PEOPLE_POLKADOT_SPEC,
// Self::PeopleKusama => kusama::PEOPLE_KUSAMA_SPEC,
// Self::PeopleWestend => westend::PEOPLE_WESTEND_SPEC,
// Self::PeoplePaseo => paseo::PEOPLE_PASEO_SPEC,
Self::PeopleKusama => kusama::PEOPLE_KUSAMA_SPEC,
Self::PeopleWestend => westend::PEOPLE_WESTEND_SPEC,
Self::PeoplePaseo => paseo::PEOPLE_PASEO_SPEC,
}
}
}
Expand Down

0 comments on commit e33a967

Please sign in to comment.