mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 10:27:59 +00:00
Introduce Flaming Fir testnet (#2526)
* node: replace emberic elm with flaming fir testnet * update readme
This commit is contained in:
@@ -37,8 +37,8 @@ pub enum ChainSpec {
|
||||
Development,
|
||||
/// Whatever the current runtime is, with simple Alice/Bob auths.
|
||||
LocalTestnet,
|
||||
/// The Emberic Elm testnet.
|
||||
EmbericElm,
|
||||
/// The Flaming Fir testnet.
|
||||
FlamingFir,
|
||||
/// Whatever the current runtime is with the "global testnet" defaults.
|
||||
StagingTestnet,
|
||||
}
|
||||
@@ -47,7 +47,7 @@ pub enum ChainSpec {
|
||||
impl ChainSpec {
|
||||
pub(crate) fn load(self) -> Result<chain_spec::ChainSpec, String> {
|
||||
Ok(match self {
|
||||
ChainSpec::EmbericElm => chain_spec::emberic_elm_config()?,
|
||||
ChainSpec::FlamingFir => chain_spec::flaming_fir_config()?,
|
||||
ChainSpec::Development => chain_spec::development_config(),
|
||||
ChainSpec::LocalTestnet => chain_spec::local_testnet_config(),
|
||||
ChainSpec::StagingTestnet => chain_spec::staging_testnet_config(),
|
||||
@@ -58,7 +58,7 @@ impl ChainSpec {
|
||||
match s {
|
||||
"dev" => Some(ChainSpec::Development),
|
||||
"local" => Some(ChainSpec::LocalTestnet),
|
||||
"" | "elm" | "emberic-elm" => Some(ChainSpec::EmbericElm),
|
||||
"" | "fir" | "flaming-fir" => Some(ChainSpec::FlamingFir),
|
||||
"staging" => Some(ChainSpec::StagingTestnet),
|
||||
_ => None,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user