From d32e73351063444ac9ff428dcf9c699495400536 Mon Sep 17 00:00:00 2001 From: ronakgothi <34569354+ronakgothi@users.noreply.github.com> Date: Sat, 25 May 2019 11:24:28 +0530 Subject: [PATCH] Initial ValidatorCap changed to 10M --- cmd/puppeth/wizard_genesis.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index d8bb199a50..4631360ad3 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -152,7 +152,7 @@ func (w *wizard) makeGenesis() { } } validatorCap := new(big.Int) - validatorCap.SetString("50000000000000000000000", 10) + validatorCap.SetString("10000000000000000000000000", 10) var validatorCaps []*big.Int genesis.ExtraData = make([]byte, 32+len(signers)*common.AddressLength+65) for i, signer := range signers { @@ -302,7 +302,7 @@ func (w *wizard) makeGenesis() { balance.Add(balance, big.NewInt(20*1000*1000*1000)) balance.Mul(balance, big.NewInt(1000000000000000000)) subBalance := big.NewInt(0) // i * 50k - subBalance.Add(subBalance, big.NewInt(int64(len(signers))*50*1000)) + subBalance.Add(subBalance, big.NewInt(int64(len(signers))*10*1000*1000)) subBalance.Mul(subBalance, big.NewInt(1000000000000000000)) balance.Sub(balance, subBalance) // 12m - i * 50k genesis.Alloc[common.HexToAddress(common.TeamAddr)] = core.GenesisAccount{