mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-09-20 14:47:31 +00:00
790753f156
* wip: refactor to allow multiple bep3 assets * update tests * sims: validate asset before claiming * move asset supply to params * update tests * fix sims * fix tests * wip: add migration from v0.9 -> v0.10 bep3 * fix build and migration tests * nit: rename file * move asset supply out of params * update committee tests * fix sims * address review comments * address review comments * address review comments
18 lines
538 B
Go
18 lines
538 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 = 20
|
|
DefaultWeightMsgCreateAtomicSwap int = 20
|
|
DefaultWeightMsgUpdatePrices int = 20
|
|
DefaultWeightMsgCdp int = 20
|
|
DefaultWeightMsgClaimReward int = 20
|
|
OpWeightSubmitCommitteeChangeProposal int = 20
|
|
)
|