Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Update Statemint prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Rius authored and riusricardo committed Dec 9, 2021
1 parent b0d8f86 commit 0ccb863
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions polkadot-parachains/res/statemint.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
"ss58Format": 0,
"tokenDecimals": 10,
"tokenSymbol": "DOT"
},
Expand Down
1 change: 1 addition & 0 deletions polkadot-parachains/res/statemint_genesis.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"telemetryEndpoints": null,
"protocolId": null,
"properties": {
"ss58Format": 0,
"tokenDecimals": 10,
"tokenSymbol": "DOT"
},
Expand Down
3 changes: 3 additions & 0 deletions polkadot-parachains/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ pub fn westmint_session_keys(keys: AuraId) -> westmint_runtime::SessionKeys {

pub fn statemint_development_config(id: ParaId) -> StatemintChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("tokenSymbol".into(), "DOT".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand Down Expand Up @@ -268,6 +269,7 @@ pub fn statemint_development_config(id: ParaId) -> StatemintChainSpec {

pub fn statemint_local_config(id: ParaId) -> StatemintChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("tokenSymbol".into(), "DOT".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand Down Expand Up @@ -318,6 +320,7 @@ pub fn statemint_local_config(id: ParaId) -> StatemintChainSpec {
// Not used for syncing, but just to determine the genesis values set for the upgrade from shell.
pub fn statemint_config(id: ParaId) -> StatemintChainSpec {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("tokenSymbol".into(), "DOT".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand Down

0 comments on commit 0ccb863

Please sign in to comment.