import "github.com/cosmos/cosmos-sdk/x/auth/simulation"
decoder.go genesis.go params.go
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
GenMaxMemoChars randomized MaxMemoChars
GenSigVerifyCostED25519 randomized SigVerifyCostED25519
GenSigVerifyCostSECP256K1 randomized SigVerifyCostSECP256K1
GenTxSigLimit randomized TxSigLimit make sure that sigLimit is always high so that arbitrarily simulated messages from other modules can still create valid transactions
GenTxSizeCostPerByte randomized TxSizeCostPerByte
func NewDecodeStore(ak AuthUnmarshaler) func(kvA, kvB kv.Pair) string
NewDecodeStore returns a decoder function closure that unmarshals the KVPair's Value to the corresponding auth type.
func ParamChanges(r *rand.Rand) []simtypes.ParamChange
ParamChanges defines the parameters that can be modified by param change proposals on the simulation
func RandomGenesisAccounts(simState *module.SimulationState) types.GenesisAccounts
RandomGenesisAccounts defines the default RandomGenesisAccountsFn used on the SDK. It creates a slice of BaseAccount, ContinuousVestingAccount and DelayedVestingAccount.
func RandomizedGenState(simState *module.SimulationState, randGenAccountsFn types.RandomGenesisAccountsFn)
RandomizedGenState generates a random GenesisState for auth
type AuthUnmarshaler interface { UnmarshalAccount([]byte) (types.AccountI, error) GetCodec() codec.BinaryMarshaler }
Package simulation imports 13 packages (graph) and is imported by 19 packages. Updated 2021-01-08. Refresh now. Tools for package owners.