mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 23:21:02 +00:00
Change ChainSpec::from_genesis for Rialto and Millau chains to reflect the chain names. (#1079)
* Changing chain_spec of Rialto and Millau chains to retrieve their respective name * Adding development as well * Addressing PR feedback Co-authored-by: Svyatoslav Nikolsky <svyatonik@gmail.com>
This commit is contained in:
committed by
Bastian Köcher
parent
75df85f52a
commit
c99fb933ca
@@ -81,8 +81,8 @@ impl Alternative {
|
|||||||
);
|
);
|
||||||
match self {
|
match self {
|
||||||
Alternative::Development => ChainSpec::from_genesis(
|
Alternative::Development => ChainSpec::from_genesis(
|
||||||
"Development",
|
"Millau Development",
|
||||||
"dev",
|
"millau_dev",
|
||||||
sc_service::ChainType::Development,
|
sc_service::ChainType::Development,
|
||||||
|| {
|
|| {
|
||||||
testnet_genesis(
|
testnet_genesis(
|
||||||
@@ -107,8 +107,8 @@ impl Alternative {
|
|||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
Alternative::LocalTestnet => ChainSpec::from_genesis(
|
Alternative::LocalTestnet => ChainSpec::from_genesis(
|
||||||
"Local Testnet",
|
"Millau Local",
|
||||||
"local_testnet",
|
"millau_local",
|
||||||
sc_service::ChainType::Local,
|
sc_service::ChainType::Local,
|
||||||
|| {
|
|| {
|
||||||
testnet_genesis(
|
testnet_genesis(
|
||||||
|
|||||||
@@ -82,8 +82,8 @@ impl Alternative {
|
|||||||
);
|
);
|
||||||
match self {
|
match self {
|
||||||
Alternative::Development => ChainSpec::from_genesis(
|
Alternative::Development => ChainSpec::from_genesis(
|
||||||
"Development",
|
"Rialto Development",
|
||||||
"dev",
|
"rialto_dev",
|
||||||
sc_service::ChainType::Development,
|
sc_service::ChainType::Development,
|
||||||
|| {
|
|| {
|
||||||
testnet_genesis(
|
testnet_genesis(
|
||||||
@@ -108,8 +108,8 @@ impl Alternative {
|
|||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
Alternative::LocalTestnet => ChainSpec::from_genesis(
|
Alternative::LocalTestnet => ChainSpec::from_genesis(
|
||||||
"Local Testnet",
|
"Rialto Local",
|
||||||
"local_testnet",
|
"rialto_local",
|
||||||
sc_service::ChainType::Local,
|
sc_service::ChainType::Local,
|
||||||
|| {
|
|| {
|
||||||
testnet_genesis(
|
testnet_genesis(
|
||||||
|
|||||||
Reference in New Issue
Block a user