mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
23a5c7b969
* first pass at genesis and msgs * add proposal generation * add permission generation * add decoder * add invariants * add committee change proposal generator * improve committee change proposal generation * fix error formatting * update sims to v0.38 * Update x/committee/keeper/invariants.go Co-Authored-By: Denali Marsh <denali@kava.io> * Update x/committee/keeper/invariants.go Co-Authored-By: Denali Marsh <denali@kava.io> * tidy up comments * tidy up random helpers * add committee to ImportExport test * add member check to vote invariant * fix comment wording Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Denali Marsh <denali@kava.io> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com>
18 lines
539 B
Go
18 lines
539 B
Go
package params
|
|
|
|
// Simulation parameter constants
|
|
const (
|
|
StakePerAccount = "stake_per_account"
|
|
InitiallyBondedValidators = "initially_bonded_validators"
|
|
)
|
|
|
|
// Default simulation operation weights for messages and gov proposals
|
|
const (
|
|
DefaultWeightMsgPlaceBid int = 75
|
|
DefaultWeightMsgCreateAtomicSwap int = 50
|
|
DefaultWeightMsgUpdatePrices int = 50
|
|
DefaultWeightMsgCdp int = 100
|
|
DefaultWeightMsgClaimReward int = 50
|
|
OpWeightSubmitCommitteeChangeProposal int = 50
|
|
)
|