Fix Statemine ss58 prefixes. (#829)

* Fix Statemine prefix

* Add prefix to chain spec
This commit is contained in:
Ricardo Rius
2021-12-08 11:56:50 +01:00
committed by GitHub
parent f42092d23e
commit 58a425667e
3 changed files with 5 additions and 0 deletions
@@ -10,6 +10,7 @@
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
"ss58Format": 2,
"tokenDecimals": 12,
"tokenSymbol": "KSM"
},
@@ -8,6 +8,7 @@
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
"ss58Format": 2,
"tokenDecimals": 12,
"tokenSymbol": "KSM"
},
@@ -352,6 +352,7 @@ fn statemint_genesis(
pub fn statemine_development_config() -> StatemineChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 2.into());
properties.insert("tokenSymbol".into(), "KSM".into());
properties.insert("tokenDecimals".into(), 12.into());
@@ -387,6 +388,7 @@ pub fn statemine_development_config() -> StatemineChainSpec {
pub fn statemine_local_config() -> StatemineChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 2.into());
properties.insert("tokenSymbol".into(), "KSM".into());
properties.insert("tokenDecimals".into(), 12.into());
@@ -436,6 +438,7 @@ pub fn statemine_local_config() -> StatemineChainSpec {
pub fn statemine_config() -> StatemineChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 2.into());
properties.insert("tokenSymbol".into(), "KSM".into());
properties.insert("tokenDecimals".into(), 12.into());