# Packages
Package params defines the simulation parameters in the gaia.
# Functions
AddTestAddrsIncremental constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AllCapabilities returns all capabilities available with the current wasmvm See https://github.com/CosmWasm/cosmwasm/blob/main/docs/CAPABILITIES-BUILT-IN.md This functionality is going to be moved upstream: https://github.com/CosmWasm/wasmvm/issues/425.
BlockedAddresses returns all the app's blocked account addresses.
GenesisStateWithSingleValidator initializes GenesisState with a single validator and genesis accounts that also act as delegators.
GenesisStateWithValSet returns a new genesis state with the validator set copied from simtestutil with delegation not added to supply.
GetEnabledProposals parses the ProposalsEnabled / EnableSpecificProposals values to produce a list of enabled proposals to pass into wasmd app.
GetMaccPerms returns a copy of the module account permissions
NOTE: This is solely to be used for testing purposes.
MakeEncodingConfig creates a new EncodingConfig with all modules registered.
ModuleAccountAddrs provides a list of blocked module accounts from configuration in AppConfig
Ported from WasmApp.
No description provided by the author
NewDefaultGenesisState generates the default state for the application.
NewTestNetworkFixture returns a new WasmApp AppConstructor for network simulation tests.
NewWasmApp returns a reference to an initialized WasmApp.
NewWasmAppWithCustomOptions initializes a new WasmApp with custom options.
Setup initializes a new WasmApp.
SetupWithEmptyStore set up a wasmd app instance with empty DB.
SetupWithGenesisValSet initializes a new WasmApp with a validator set and genesis accounts that also act as delegators.
SignAndDeliverWithoutCommit signs and delivers a transaction.
# Variables
We pull these out so we can set them with LDFLAGS in the Makefile.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccPub defines the Bech32 prefix of an account's public key.
Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address.
Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key.
Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address.
Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key.
DefaultNodeHome default home directories for wasmd.
If set to non-empty string it must be comma-separated list of values that are all a subset of "EnableAllProposals" (takes precedence over ProposalsEnabled) https://github.com/noria-net/ibc-hooks/blob/02a54d33ff2c064f3539ae12d75d027d9c665f05/x/wasm/internal/types/proposal.go#L28-L34.
ModuleBasics defines the module BasicManager is in charge of setting up basic, non-dependant module elements, such as codec registration and genesis verification.
We pull these out so we can set them with LDFLAGS in the Makefile.
If EnabledSpecificProposals is "", and this is "true", then enable all x/wasm proposals.
# Structs
HandlerOptions extend the SDK's AnteHandler options by requiring the IBC channel keeper.
SetupOptions defines arguments that are passed into `WasmApp` constructor.
WasmApp extended ABCI application.
# Type aliases
GenesisState of the blockchain is represented here as a map of raw json messages key'd by a identifier string.