From 0ccb8638ce3fb05e38b18246d892e9104f3144aa Mon Sep 17 00:00:00 2001 From: Ricardo Rius Date: Sat, 4 Dec 2021 22:51:29 +0100 Subject: [PATCH] Update Statemint prefix --- polkadot-parachains/res/statemint.json | 1 + polkadot-parachains/res/statemint_genesis.json | 1 + polkadot-parachains/src/chain_spec.rs | 3 +++ 3 files changed, 5 insertions(+) diff --git a/polkadot-parachains/res/statemint.json b/polkadot-parachains/res/statemint.json index 20bc1d13724..e2776f51cd0 100644 --- a/polkadot-parachains/res/statemint.json +++ b/polkadot-parachains/res/statemint.json @@ -11,6 +11,7 @@ "telemetryEndpoints": null, "protocolId": null, "properties": { + "ss58Format": 0, "tokenDecimals": 10, "tokenSymbol": "DOT" }, diff --git a/polkadot-parachains/res/statemint_genesis.json b/polkadot-parachains/res/statemint_genesis.json index 3544c75afda..2763994949e 100644 --- a/polkadot-parachains/res/statemint_genesis.json +++ b/polkadot-parachains/res/statemint_genesis.json @@ -11,6 +11,7 @@ "telemetryEndpoints": null, "protocolId": null, "properties": { + "ss58Format": 0, "tokenDecimals": 10, "tokenSymbol": "DOT" }, diff --git a/polkadot-parachains/src/chain_spec.rs b/polkadot-parachains/src/chain_spec.rs index 63f5993801f..f977044e45b 100644 --- a/polkadot-parachains/src/chain_spec.rs +++ b/polkadot-parachains/src/chain_spec.rs @@ -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()); @@ -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()); @@ -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());