diff --git a/solidity-fixtures b/solidity-fixtures index a27da611e..56f98c388 160000 --- a/solidity-fixtures +++ b/solidity-fixtures @@ -1 +1 @@ -Subproject commit a27da611e169de3fa7f08a71405ad55911edcea9 +Subproject commit 56f98c38805d02e5e60851d27f9e804d5ba0d757 diff --git a/standalone/node/src/chain_spec.rs b/standalone/node/src/chain_spec.rs index 6dd32dc5c..96523482f 100644 --- a/standalone/node/src/chain_spec.rs +++ b/standalone/node/src/chain_spec.rs @@ -85,6 +85,10 @@ fn webb_session_keys( } pub fn webb_development_config() -> Result { + let mut properties = sc_chain_spec::Properties::new(); + properties.insert("tokenSymbol".into(), "Unit".into()); + properties.insert("tokenDecimals".into(), 18u32.into()); + properties.insert("ss58Format".into(), 42.into()); Ok(ChainSpec::from_genesis( // Name "Development", @@ -126,7 +130,7 @@ pub fn webb_development_config() -> Result { // Fork ID None, // Properties - None, + Some(properties), Default::default(), )) } diff --git a/standalone/runtime/src/constants.rs b/standalone/runtime/src/constants.rs index aa2c58ca7..c8cb6e3e0 100644 --- a/standalone/runtime/src/constants.rs +++ b/standalone/runtime/src/constants.rs @@ -19,7 +19,7 @@ pub mod currency { /// The existential deposit. Set to 1/10 of its parent Relay Chain (v9020). pub const EXISTENTIAL_DEPOSIT: Balance = CENTS / 10; - pub const UNITS: Balance = 1_000_000_000_000; + pub const UNITS: Balance = 1_000_000_000_000_000_000; pub const KUNITS: Balance = UNITS * 1000; pub const DOLLARS: Balance = UNITS; pub const CENTS: Balance = UNITS / 30_000;