Skip to content

Commit

Permalink
Merge pull request #114 from paseo-network/release/1.2.5-runtime
Browse files Browse the repository at this point in the history
Fix spec version for AH
  • Loading branch information
hbulgarini authored Aug 1, 2024
2 parents 836d979 + 6689ffe commit 2fa66a1
Show file tree
Hide file tree
Showing 21 changed files with 829 additions and 816 deletions.
13 changes: 8 additions & 5 deletions chain-spec-generator/src/system_parachains_specs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ fn asset_hub_paseo_local_genesis(para_id: ParaId) -> serde_json::Value {

pub fn asset_hub_paseo_local_testnet_config() -> Result<Box<dyn ChainSpec>, String> {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "DOT".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand All @@ -147,6 +147,7 @@ pub fn asset_hub_paseo_local_testnet_config() -> Result<Box<dyn ChainSpec>, Stri
.with_name("Asset Hub Paseo Local")
.with_id("asset-hub-paseo-local")
.with_chain_type(ChainType::Local)
.with_protocol_id("ah-pas")
.with_genesis_config_patch(asset_hub_paseo_local_genesis(1000.into()))
.with_properties(properties)
.build(),
Expand Down Expand Up @@ -212,7 +213,7 @@ fn bridge_hub_paseo_local_genesis(para_id: ParaId) -> serde_json::Value {

pub fn bridge_hub_paseo_config() -> Result<Box<dyn ChainSpec>, String> {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "PAS".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand All @@ -222,8 +223,9 @@ pub fn bridge_hub_paseo_config() -> Result<Box<dyn ChainSpec>, String> {
Extensions { relay_chain: "paseo".into(), para_id: 1002 },
)
.with_name("Paseo Bridge Hub")
.with_id("bridge-hub-paseo")
.with_id("paseo-bridge-hub")
.with_chain_type(ChainType::Live)
.with_protocol_id("bh-pas")
.with_genesis_config_patch(bridge_hub_paseo_local_genesis(1002.into()))
.with_properties(properties)
.build(),
Expand All @@ -232,7 +234,7 @@ pub fn bridge_hub_paseo_config() -> Result<Box<dyn ChainSpec>, String> {

pub fn bridge_hub_paseo_local_testnet_config() -> Result<Box<dyn ChainSpec>, String> {
let mut properties = sc_chain_spec::Properties::new();
properties.insert("ss58Format".into(), 0.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "PAS".into());
properties.insert("tokenDecimals".into(), 10.into());

Expand All @@ -242,8 +244,9 @@ pub fn bridge_hub_paseo_local_testnet_config() -> Result<Box<dyn ChainSpec>, Str
Extensions { relay_chain: "paseo-local".into(), para_id: 1002 },
)
.with_name("Paseo Bridge Hub Local")
.with_id("bridge-hub-paseo-local")
.with_id("paseo-bridge-hub-local")
.with_chain_type(ChainType::Local)
.with_protocol_id("bh-pas")
.with_genesis_config_patch(bridge_hub_paseo_local_genesis(1002.into()))
.with_properties(properties)
.build(),
Expand Down
26 changes: 13 additions & 13 deletions chain-specs/bridge-hub-paseo.plain.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "Paseo Bridge Hub",
"id": "bridge-hub-paseo",
"id": "paseo-bridge-hub",
"chainType": "Live",
"bootNodes": [],
"telemetryEndpoints": null,
"protocolId": "bridge-hub-paseo",
"protocolId": "bh-pas",
"properties": {
"ss58Format": 0,
"ss58Format": 42,
"tokenDecimals": 10,
"tokenSymbol": "PAS"
},
Expand All @@ -24,11 +24,11 @@
16777216000000000
],
[
"5EhCFEY8Whb1czRDDbMurfrz1wfM6QAbFf4NwnMWEqhJwxMZ",
"5ECmPXn7K9Pe5MA1YoNSbfaBaRtDhTdYym4bgSipbW8XwByJ",
16777216000000000
],
[
"5C5e1jVFYvpURw53MWrB7AppmshZmmj1MTHPw6nHyjbfgP7j",
"5HKgozQHPG5K5XCFGEs1FKPEXKqZrQrymqBNncKbtBfGHPgT",
16777216000000000
]
]
Expand All @@ -37,8 +37,8 @@
"candidacyBond": 16000000000,
"desiredCandidates": 0,
"invulnerables": [
"5EhCFEY8Whb1czRDDbMurfrz1wfM6QAbFf4NwnMWEqhJwxMZ",
"5C5e1jVFYvpURw53MWrB7AppmshZmmj1MTHPw6nHyjbfgP7j"
"5ECmPXn7K9Pe5MA1YoNSbfaBaRtDhTdYym4bgSipbW8XwByJ",
"5HKgozQHPG5K5XCFGEs1FKPEXKqZrQrymqBNncKbtBfGHPgT"
]
},
"ethereumSystem": {
Expand All @@ -54,17 +54,17 @@
"session": {
"keys": [
[
"5C5e1jVFYvpURw53MWrB7AppmshZmmj1MTHPw6nHyjbfgP7j",
"5C5e1jVFYvpURw53MWrB7AppmshZmmj1MTHPw6nHyjbfgP7j",
"5HKgozQHPG5K5XCFGEs1FKPEXKqZrQrymqBNncKbtBfGHPgT",
"5HKgozQHPG5K5XCFGEs1FKPEXKqZrQrymqBNncKbtBfGHPgT",
{
"aura": "5C5e1jVFYvpURw53MWrB7AppmshZmmj1MTHPw6nHyjbfgP7j"
"aura": "5DWrXy8b93QUsd2NzLSFcAH3hVxE3bX3W9V6CZhzyf52JDBd"
}
],
[
"5EhCFEY8Whb1czRDDbMurfrz1wfM6QAbFf4NwnMWEqhJwxMZ",
"5EhCFEY8Whb1czRDDbMurfrz1wfM6QAbFf4NwnMWEqhJwxMZ",
"5ECmPXn7K9Pe5MA1YoNSbfaBaRtDhTdYym4bgSipbW8XwByJ",
"5ECmPXn7K9Pe5MA1YoNSbfaBaRtDhTdYym4bgSipbW8XwByJ",
{
"aura": "5EhCFEY8Whb1czRDDbMurfrz1wfM6QAbFf4NwnMWEqhJwxMZ"
"aura": "5EyfoszzhQnYpS4jqPDUm14XgqGtEWcRX5EBsGGbN3wQAcTd"
}
]
]
Expand Down
30 changes: 15 additions & 15 deletions chain-specs/bridge-hub-paseo.raw.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2fa66a1

Please sign in to comment.