* Fix wasm simulations + make functions compatible with tgrade * Fix lint issues * Fix simulation setup * Make simulations store msg pass * Use default values params to make operations succeed * Normalize wasm store * Add simulations to circleci config * Run simulation in temp dir * Store sim logs * Increase circleci machine type * Extract reflect contract api into helper * Add execute msg to simulations * Embed refect wasm contract Co-authored-by: Pino' Surace <pino.surace@live.it>
27 lines
1.1 KiB
Go
27 lines
1.1 KiB
Go
package params
|
|
|
|
// Default simulation operation weights for messages and gov proposals
|
|
const (
|
|
DefaultWeightMsgSend int = 100
|
|
DefaultWeightMsgMultiSend int = 10
|
|
DefaultWeightMsgSetWithdrawAddress int = 50
|
|
DefaultWeightMsgWithdrawDelegationReward int = 50
|
|
DefaultWeightMsgWithdrawValidatorCommission int = 50
|
|
DefaultWeightMsgFundCommunityPool int = 50
|
|
DefaultWeightMsgDeposit int = 100
|
|
DefaultWeightMsgVote int = 67
|
|
DefaultWeightMsgUnjail int = 100
|
|
DefaultWeightMsgCreateValidator int = 100
|
|
DefaultWeightMsgEditValidator int = 5
|
|
DefaultWeightMsgDelegate int = 100
|
|
DefaultWeightMsgUndelegate int = 100
|
|
DefaultWeightMsgBeginRedelegate int = 100
|
|
|
|
DefaultWeightCommunitySpendProposal int = 5
|
|
DefaultWeightTextProposal int = 5
|
|
DefaultWeightParamChangeProposal int = 5
|
|
DefaultWeightMsgStoreCode int = 50
|
|
DefaultWeightMsgInstantiateContract int = 100
|
|
DefaultWeightMsgExecuteContract int = 100
|
|
)
|