package
0.50.9
Repository: https://github.com/t-ragon/cosmos-sdk.git
Documentation: pkg.go.dev

# Functions

AddTestAddrs constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AddTestAddrsFromPubKeys adds the addresses into the SimApp providing only the public keys.
AddTestAddrsIncremental constructs and returns accNum amount of accounts with an initial balance of accAmt in random order.
AppStateFn returns the initial application state using a genesis or the simulation parameters.
AppStateFnWithExtendedCb returns the initial application state using a genesis or the simulation parameters.
AppStateFnWithExtendedCbs returns the initial application state using a genesis or the simulation parameters.
AppStateFromGenesisFileFn util function to generate the genesis AppState from a genesis.json file.
AppStateRandomizedFn creates calls each module's GenesisState generator function and creates the simulation params.
CheckExportSimulation exports the app state and simulation parameters to JSON if the export paths are defined.
ConvertAddrsToValAddrs converts the provided addresses to ValAddress.
CreateIncrementalAccounts is a strategy used by addTestAddrs() in order to generated addresses in ascending order.
CreateRandomAccounts is a strategy used by addTestAddrs() in order to generated addresses in random order.
CreateRandomValidatorSet creates a validator set with one random validator.
CreateTestPubKeys returns a total of numPubKeys public keys in ascending order.
No description provided by the author
DiffKVStores compares two KVstores and returns all the key/value pairs that differ from one another.
GenesisStateWithValSet returns a new genesis state with the validator set.
GenSignedMockTx generates a signed mock transaction.
GetSimulationLog unmarshals the KVPair's Value to the corresponding type based on the each's module store key and the prefix bytes of the KVPair's key.
No description provided by the author
NewPubKeyFromHex returns a PubKey from a hex string.
NextBlock starts a new block.
PrintStats prints the corresponding statistics from the app DB.
Setup initializes a new runtime.App and can inject values into extraOutputs.
SetupAtGenesis initializes a new runtime.App at genesis and can inject values into extraOutputs.
SetupSimulation creates the config, db (levelDB), temporary directory and logger for the simulation tests.
SetupWithConfiguration initializes a new runtime.App.
SignCheckDeliver checks a generated signed transaction and simulates a block commitment with the given transaction.
SimulationOperations retrieves the simulation params from the provided file path and returns all the modules weighted operations.
No description provided by the author

# Constants

No description provided by the author
Simulation parameter constants.
Simulation parameter constants.

# Variables

DefaultConsensusParams defines the default CometBFT consensus params used in SimApp testing.

# Structs

EmptyAppOptions is a stub implementing AppOptions.
No description provided by the author
StartupConfig defines the startup configuration new a test application.

# Interfaces

BondDenomProvider is a subset of the staking keeper's public interface that provides the staking bond denom.

# Type aliases

AppOptionsMap is a stub implementing AppOptions which can get data from a map.
No description provided by the author