Documentation
¶
Index ¶
Constants ¶
const ( DefaultWeightMsgUpdateParams int = 100 OpWeightMsgUpdateParams = "op_weight_msg_update_params" //nolint:gosec )
Simulation operation weights constants
Variables ¶
This section is empty.
Functions ¶
func ProposalMsgs ¶
func ProposalMsgs() []simtypes.WeightedProposalMsg
ProposalMsgs defines the module weighted proposals' contents
func RandomizedGenState ¶
func RandomizedGenState(simState *module.SimulationState)
RandomizedGenState generates a hold genesis with default params, up to maxPendingWallets pending wallets, held balances for about half of them, and up to maxUntrackedBalances held balances of wallets no longer pending: a wallet hold stops tracking keeps its held balance.
All of these are fresh addresses, never simulation accounts: hold rejects a pending wallet's withdraw address change, and the simulator stops on any rejected transaction, so no simulated transaction may come from one.
A held balance must be backed by coins in the hold module account, so the coins are added to that account in bank's genesis, with bank's supply raised to match. Bank's genesis must be generated first: generated after hold's, it would replace that funding and the chain would fail to start. Without a bank genesis at all, no balance is recorded.
Types ¶
This section is empty.