mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
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:
committed by
GitHub
parent
f67517f3b3
commit
c18e804c3d
@@ -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() },
|
||||
|
||||
Reference in New Issue
Block a user