cosmos-sdk: github.com/cosmos/cosmos-sdk/x/params/simulation Index | Files

package simulation

import "github.com/cosmos/cosmos-sdk/x/params/simulation"

Index

Package Files

operations.go proposals.go

Constants

const OpWeightSubmitParamChangeProposal = "op_weight_submit_param_change_proposal"

OpWeightSubmitParamChangeProposal app params key for param change proposal

func ProposalContents Uses

func ProposalContents(paramChanges []simtypes.ParamChange) []simtypes.WeightedProposalContent

ProposalContents defines the module weighted proposals' contents

func SimulateParamChangeProposalContent Uses

func SimulateParamChangeProposalContent(paramChangePool []simulation.ParamChange) simulation.ContentSimulatorFn

SimulateParamChangeProposalContent returns random parameter change content. It will generate a ParameterChangeProposal object with anywhere between 1 and the total amount of defined parameters changes, all of which have random valid values.

Package simulation imports 6 packages (graph) and is imported by 1 packages. Updated 2020-07-28. Refresh now. Tools for package owners.