mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
Fix Statemine ss58 prefixes. (#829)
* Fix Statemine prefix * Add prefix to chain spec
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user