Skip to content

Commit

Permalink
Update chain spec properties
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Oct 12, 2023
1 parent 9878248 commit 1fdf412
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ pub mod devnet {
pub fn development_config() -> DevnetChainSpec {
// Give your base currency a unit name and decimal places
let mut properties = sc_chain_spec::Properties::new();
properties.insert("tokenSymbol".into(), "DEV".into());
properties.insert("tokenDecimals".into(), 12.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "MQTY".into());
properties.insert("tokenDecimals".into(), 18.into());
properties.insert("ss58Format".into(), 666.into());

DevnetChainSpec::from_genesis(
// Name
Expand Down Expand Up @@ -132,9 +132,9 @@ pub mod devnet {
pub fn local_testnet_config() -> DevnetChainSpec {
// Give your base currency a unit name and decimal places
let mut properties = sc_chain_spec::Properties::new();
properties.insert("tokenSymbol".into(), "UNIT".into());
properties.insert("tokenDecimals".into(), 12.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "MQTY".into());
properties.insert("tokenDecimals".into(), 18.into());
properties.insert("ss58Format".into(), 666.into());

DevnetChainSpec::from_genesis(
// Name
Expand Down Expand Up @@ -273,9 +273,9 @@ pub mod mainnet {
pub fn development_config() -> MainChainSpec {
// Give your base currency a unit name and decimal places
let mut properties = sc_chain_spec::Properties::new();
properties.insert("tokenSymbol".into(), "UNIT".into());
properties.insert("tokenDecimals".into(), 12.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "MQTY".into());
properties.insert("tokenDecimals".into(), 18.into());
properties.insert("ss58Format".into(), 666.into());

MainChainSpec::from_genesis(
// Name
Expand Down Expand Up @@ -329,9 +329,9 @@ pub mod mainnet {
pub fn local_testnet_config() -> MainChainSpec {
// Give your base currency a unit name and decimal places
let mut properties = sc_chain_spec::Properties::new();
properties.insert("tokenSymbol".into(), "UNIT".into());
properties.insert("tokenDecimals".into(), 12.into());
properties.insert("ss58Format".into(), 42.into());
properties.insert("tokenSymbol".into(), "MQTY".into());
properties.insert("tokenDecimals".into(), 18.into());
properties.insert("ss58Format".into(), 666.into());

MainChainSpec::from_genesis(
// Name
Expand Down

0 comments on commit 1fdf412

Please sign in to comment.