Documentation ¶
Index ¶
- Constants
- func GenMaxMemoChars(r *rand.Rand) uint64
- func GenSigVerifyCostED25519(r *rand.Rand) uint64
- func GenSigVerifyCostSECP256K1(r *rand.Rand) uint64
- func GenTxSigLimit(r *rand.Rand) uint64
- func GenTxSizeCostPerByte(r *rand.Rand) uint64
- func NewDecodeStore(cdc types.Codec) func(kvA, kvB tmkv.Pair) string
- func ParamChanges(r *rand.Rand) []simtypes.ParamChange
- func RandomGenesisAccounts(simState *module.SimulationState) (genesisAccs exported.GenesisAccounts)
- func RandomizedGenState(simState *module.SimulationState)
Constants ¶
const ( MaxMemoChars = "max_memo_characters" TxSigLimit = "tx_sig_limit" TxSizeCostPerByte = "tx_size_cost_per_byte" SigVerifyCostED25519 = "sig_verify_cost_ed25519" SigVerifyCostSECP256K1 = "sig_verify_cost_secp256k1" )
Simulation parameter constants
Variables ¶
This section is empty.
Functions ¶
func GenMaxMemoChars ¶ added in v1.0.0
GenMaxMemoChars randomized MaxMemoChars
func GenSigVerifyCostED25519 ¶ added in v1.0.0
GenSigVerifyCostED25519 randomized SigVerifyCostED25519
func GenSigVerifyCostSECP256K1 ¶ added in v1.0.0
GenSigVerifyCostSECP256K1 randomized SigVerifyCostSECP256K1
func GenTxSigLimit ¶ added in v1.0.0
GenTxSigLimit randomized TxSigLimit make sure that sigLimit is always high so that arbitrarily simulated messages from other modules can still create valid transactions
func GenTxSizeCostPerByte ¶ added in v1.0.0
GenTxSizeCostPerByte randomized TxSizeCostPerByte
func NewDecodeStore ¶ added in v1.0.0
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding auth type.
func ParamChanges ¶ added in v1.0.0
func ParamChanges(r *rand.Rand) []simtypes.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func RandomGenesisAccounts ¶ added in v1.0.0
func RandomGenesisAccounts(simState *module.SimulationState) (genesisAccs exported.GenesisAccounts)
RandomGenesisAccounts returns randomly generated genesis accounts
func RandomizedGenState ¶ added in v1.0.0
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a random GenesisState for auth
Types ¶
This section is empty.