-
Notifications
You must be signed in to change notification settings - Fork 557
/
genesis_config.go
34 lines (32 loc) · 2.2 KB
/
genesis_config.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package simtypes
// SimulationState is the input parameters used on each of the module's randomized
// GenesisState generator function
// type GenesisConfig struct {
// AppParams simulation.AppParams
// Cdc codec.JSONCodec // application codec
// Rand *rand.Rand // random number
// GenState map[string]json.RawMessage // genesis state
// Accounts []simulation.Account // simulation accounts
// InitialStake int64 // initial coins per account
// NumBonded int64 // number of initially bonded accounts
// GenTimestamp time.Time // genesis timestamp
// UnbondTime time.Duration // staking unbond time stored to use it as the slashing maximum evidence duration
// ParamChanges []simulation.ParamChange // simulated parameter changes from modules
// Contents []simulation.WeightedProposalContent // proposal content generator functions with their default weight and app sim key
// }
// LegacyConfig
// SimulationState is the input parameters used on each of the module's randomized
// GenesisState generator function
// type SimulationState struct {
// AppParams simulation.AppParams
// Cdc codec.JSONCodec // application codec
// Rand *rand.Rand // random number
// GenState map[string]json.RawMessage // genesis state
// Accounts []simulation.Account // simulation accounts
// InitialStake int64 // initial coins per account
// NumBonded int64 // number of initially bonded accounts
// GenTimestamp time.Time // genesis timestamp
// UnbondTime time.Duration // staking unbond time stored to use it as the slashing maximum evidence duration
// ParamChanges []simulation.ParamChange // simulated parameter changes from modules
// Contents []simulation.WeightedProposalContent // proposal content generator functions with their default weight and app sim key
// }