apply request finalize, fix lint

This commit is contained in:
mossid
2018-10-07 01:12:01 +09:00
parent 7a68b376bd
commit 4bf14c5650
7 changed files with 28 additions and 35 deletions
+4 -2
View File
@@ -53,9 +53,11 @@ func appStateFn(r *rand.Rand, accs []simulation.Account) json.RawMessage {
Coins: coins,
})
}
govGenesis := gov.DefaultGenesisState()
// Default genesis state
govGenesis := gov.DefaultGenesisState()
stakeGenesis := stake.DefaultGenesisState()
slashingGenesis := slashing.DefaultGenesisState()
var validators []stake.Validator
var delegations []stake.Delegation
// XXX Try different numbers of initially bonded validators
@@ -77,7 +79,7 @@ func appStateFn(r *rand.Rand, accs []simulation.Account) json.RawMessage {
genesis := GenesisState{
Accounts: genesisAccounts,
StakeData: stakeGenesis,
SlashingData: slashing.DefaultGenesisState(),
SlashingData: slashingGenesis,
GovData: govGenesis,
}