fix: chain spec corrections - tokenDecimals 18->12, ss58Format, para_id

This commit is contained in:
2026-02-11 04:52:28 +03:00
parent cf481e748b
commit 60fec915de
3 changed files with 5 additions and 3 deletions
@@ -132,10 +132,11 @@ pub fn asset_hub_pezkuwichain_genesis_config() -> GenericChainSpec {
let mut properties = pezsc_chain_spec::Properties::new();
properties.insert("tokenSymbol".into(), "TYR".into());
properties.insert("tokenDecimals".into(), 12.into());
properties.insert("ss58Format".into(), 42.into());
GenericChainSpec::builder(
asset_hub_pezkuwichain_runtime::WASM_BINARY
.expect("WASM binary was not built, please build it!"),
Extensions::new_with_relay_chain("pezkuwichain-mainnet".into()),
Extensions::new("pezkuwichain-mainnet".into(), 1000),
)
.with_name("Pezkuwichain Asset Hub")
.with_id("asset-hub-pezkuwichain")
@@ -140,7 +140,7 @@ pub mod pezkuwichain {
GenericChainSpec::builder(
people_pezkuwichain_runtime::WASM_BINARY
.expect("WASM binary was not built, please build it!"),
Extensions::new_with_relay_chain("pezkuwichain-mainnet".to_string()),
Extensions::new("pezkuwichain-mainnet".to_string(), 1004),
)
.with_name("Pezkuwichain People")
.with_id(super::ensure_id(PEOPLE_PEZKUWICHAIN_GENESIS).expect("invalid id"))