Skip to content

Commit

Permalink
Fix genesis InsufficientBalance
Browse files Browse the repository at this point in the history
  • Loading branch information
Netherdrake committed May 22, 2021
1 parent d1cdfb6 commit 175dc55
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions assets/chain_spec_mainnet.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ fn mainnet_genesis(

let balances = initial_authorities
.iter()
.map(|x| (x.0.clone(), INITIAL_STAKING))
.chain(endowed_accounts)
.map(|x| (x.0.clone(), INITIAL_STAKING*2))
.chain(endowed_accounts.iter().cloned().map(|x| (x.0.clone(), x.1 * REEF)))
.chain(
get_all_module_accounts()
.iter()
Expand Down

0 comments on commit 175dc55

Please sign in to comment.