Fix units usage in node/service/src/chain_spec.rs (#5099)

For clarity replace `DOT` with `WND` and `ROC` in
`westend_testnet_genesis` and `rococo_testnet_genesis` functions.
This commit is contained in:
Tsvetomir Dimitrov
2022-03-14 17:24:18 +02:00
committed by GitHub
parent f67517f3b3
commit c18e804c3d
+3 -3
View File
@@ -1447,8 +1447,8 @@ pub fn westend_testnet_genesis(
) -> westend::GenesisConfig {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(testnet_accounts);
const ENDOWMENT: u128 = 1_000_000 * DOT;
const STASH: u128 = 100 * DOT;
const ENDOWMENT: u128 = 1_000_000 * WND;
const STASH: u128 = 100 * WND;
westend::GenesisConfig {
system: westend::SystemConfig { code: wasm_binary.to_vec() },
@@ -1528,7 +1528,7 @@ pub fn rococo_testnet_genesis(
) -> rococo_runtime::GenesisConfig {
let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(testnet_accounts);
const ENDOWMENT: u128 = 1_000_000 * DOT;
const ENDOWMENT: u128 = 1_000_000 * ROC;
rococo_runtime::GenesisConfig {
system: rococo_runtime::SystemConfig { code: wasm_binary.to_vec() },