Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solidity-fixtures
6 changes: 5 additions & 1 deletion standalone/node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ fn webb_session_keys(
}

pub fn webb_development_config() -> Result<ChainSpec, String> {
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",
Expand Down Expand Up @@ -126,7 +130,7 @@ pub fn webb_development_config() -> Result<ChainSpec, String> {
// Fork ID
None,
// Properties
None,
Some(properties),
Default::default(),
))
}
Expand Down
2 changes: 1 addition & 1 deletion standalone/runtime/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down