Revert back to 100 power for proposing validator

This commit is contained in:
Aleksandr Bezobchuk 2018-10-08 02:51:29 +08:00
parent 79a0339844
commit 975065724b
2 changed files with 3 additions and 1 deletions

View File

@ -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",
}

View File

@ -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)
}