From 975065724baef509d1a137e52d2df0aeeb933eed Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Mon, 8 Oct 2018 02:51:29 +0800 Subject: [PATCH] Revert back to 100 power for proposing validator --- client/lcd/test_helpers.go | 2 +- cmd/gaia/app/test_utils.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/lcd/test_helpers.go b/client/lcd/test_helpers.go index b72ea18b10..cd48b89ea2 100644 --- a/client/lcd/test_helpers.go +++ b/client/lcd/test_helpers.go @@ -146,7 +146,7 @@ func InitializeTestLCD( // append initial (proposing) validator genDoc.Validators[0] = tmtypes.GenesisValidator{ PubKey: privVal.GetPubKey(), - Power: 999999, // create enough power to enable 2/3 voting power + Power: 100, // create enough power to enable 2/3 voting power Name: "validator-1", } diff --git a/cmd/gaia/app/test_utils.go b/cmd/gaia/app/test_utils.go index f590f782d2..1005ed0f2f 100644 --- a/cmd/gaia/app/test_utils.go +++ b/cmd/gaia/app/test_utils.go @@ -37,6 +37,8 @@ func NewTestGaiaAppGenState( return GenesisState{}, err } + stakeData.Pool.LooseTokens = stakeData.Pool.LooseTokens.Add(sdk.NewDecFromInt(freeFermionsAcc)) + // create the genesis account for the given genesis tx genAccs[i] = genesisAccountFromGenTx(genTx) }