Merge PR #3717: Allow the undelegation of more coins than were delegated; More validity checks.

This commit is contained in:
Jae Kwon
2019-02-27 22:09:26 +01:00
committed by Christopher Goes
parent 7e08b62f4e
commit 10bd98e58e
20 changed files with 188 additions and 46 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ func appStateRandomizedFn(r *rand.Rand, accs []simulation.Account, genesisTimest
Pool: staking.InitialPool(),
Params: staking.Params{
UnbondingTime: time.Duration(randIntBetween(r, 60, 60*60*24*3*2)) * time.Second,
MaxValidators: uint16(r.Intn(250)),
MaxValidators: uint16(r.Intn(250) + 1),
BondDenom: sdk.DefaultBondDenom,
},
}