mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
c252a1b99b
* simulate MsgSwapExactForTokens * extract deadline generation to custom method * simulate MsgSwapForExactTokens * implement simulation decoder * decoder test * add fee to msgs * update comments
26 lines
922 B
Go
26 lines
922 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
|
|
DefaultWeightMsgDeposit int = 20
|
|
DefaultWeightMsgWithdraw int = 20
|
|
DefaultWeightMsgSwapExactForTokens int = 20
|
|
DefaultWeightMsgSwapForExactTokens int = 20
|
|
DefaultWeightMsgIssue int = 20
|
|
DefaultWeightMsgRedeem int = 20
|
|
DefaultWeightMsgBlock int = 20
|
|
DefaultWeightMsgPause int = 20
|
|
OpWeightSubmitCommitteeChangeProposal int = 20
|
|
)
|