Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
943db8e2
Unverified
Commit
943db8e2
authored
Apr 08, 2020
by
Bastian Köcher
Committed by
GitHub
Apr 08, 2020
Browse files
Companion pr for new chain type RPC (#988)
* Companion pr for new chain type RPC * Update `Cargo.lock`
parent
265474a8
Pipeline
#87214
passed with stages
in 24 minutes and 49 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
943db8e2
This diff is collapsed.
Click to expand it.
service/src/chain_spec.rs
View file @
943db8e2
...
...
@@ -22,7 +22,7 @@ use polkadot_runtime as polkadot;
use
kusama_runtime
as
kusama
;
use
polkadot
::
constants
::
currency
::
DOTS
;
use
kusama
::
constants
::
currency
::
DOTS
as
KSM
;
use
sc_chain_spec
::
ChainSpecExtension
;
use
sc_chain_spec
::
{
ChainSpecExtension
,
ChainType
}
;
use
sp_runtime
::{
traits
::
IdentifyAccount
,
Perbill
};
use
serde
::{
Serialize
,
Deserialize
};
use
telemetry
::
TelemetryEndpoints
;
...
...
@@ -335,6 +335,7 @@ pub fn polkadot_staging_testnet_config() -> PolkadotChainSpec {
PolkadotChainSpec
::
from_genesis
(
"Polkadot Staging Testnet"
,
"polkadot_staging_testnet"
,
ChainType
::
Live
,
polkadot_staging_testnet_config_genesis
,
boot_nodes
,
Some
(
TelemetryEndpoints
::
new
(
vec!
[(
POLKADOT_STAGING_TELEMETRY_URL
.to_string
(),
0
)])
...
...
@@ -351,6 +352,7 @@ pub fn kusama_staging_testnet_config() -> KusamaChainSpec {
KusamaChainSpec
::
from_genesis
(
"Kusama Staging Testnet"
,
"kusama_staging_testnet"
,
ChainType
::
Live
,
kusama_staging_testnet_config_genesis
,
boot_nodes
,
Some
(
TelemetryEndpoints
::
new
(
vec!
[(
KUSAMA_STAGING_TELEMETRY_URL
.to_string
(),
0
)])
...
...
@@ -590,6 +592,7 @@ pub fn polkadot_development_config() -> PolkadotChainSpec {
PolkadotChainSpec
::
from_genesis
(
"Development"
,
"dev"
,
ChainType
::
Development
,
polkadot_development_config_genesis
,
vec!
[],
None
,
...
...
@@ -604,6 +607,7 @@ pub fn kusama_development_config() -> KusamaChainSpec {
KusamaChainSpec
::
from_genesis
(
"Development"
,
"kusama_dev"
,
ChainType
::
Development
,
kusama_development_config_genesis
,
vec!
[],
None
,
...
...
@@ -629,6 +633,7 @@ pub fn polkadot_local_testnet_config() -> PolkadotChainSpec {
PolkadotChainSpec
::
from_genesis
(
"Local Testnet"
,
"local_testnet"
,
ChainType
::
Local
,
polkadot_local_testnet_genesis
,
vec!
[],
None
,
...
...
@@ -654,6 +659,7 @@ pub fn kusama_local_testnet_config() -> KusamaChainSpec {
KusamaChainSpec
::
from_genesis
(
"Kusama Local Testnet"
,
"kusama_local_testnet"
,
ChainType
::
Local
,
kusama_local_testnet_genesis
,
vec!
[],
None
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment