Versions in this module Expand all Collapse all v0 v0.47.3 Aug 22, 2024 Changes in this version + const DefaultGenTxGas + const InitiallyBondedValidators + const StakePerAccount + var DefaultConsensusParams = &tmproto.ConsensusParams + func AddTestAddrs(bankKeeper bankkeeper.Keeper, stakingKeeper BondDenomProvider, ctx sdk.Context, ...) []sdk.AccAddress + func AddTestAddrsFromPubKeys(bankKeeper bankkeeper.Keeper, stakingKeeper BondDenomProvider, ctx sdk.Context, ...) + func AddTestAddrsIncremental(bankKeeper bankkeeper.Keeper, stakingKeeper BondDenomProvider, ctx sdk.Context, ...) []sdk.AccAddress + func AppStateFn(cdc codec.JSONCodec, simManager *module.SimulationManager, ...) simtypes.AppStateFn + func AppStateFnWithExtendedCb(cdc codec.JSONCodec, simManager *module.SimulationManager, ...) simtypes.AppStateFn + func AppStateFnWithExtendedCbs(cdc codec.JSONCodec, simManager *module.SimulationManager, ...) simtypes.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc codec.JSONCodec, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account, error) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc codec.JSONCodec, ...) (json.RawMessage, []simtypes.Account) + func CheckExportSimulation(app runtime.AppI, config simtypes.Config, params simtypes.Params) error + func ConvertAddrsToValAddrs(addrs []sdk.AccAddress) []sdk.ValAddress + func CreateIncrementalAccounts(accNum int) []sdk.AccAddress + func CreateRandomAccounts(accNum int) []sdk.AccAddress + func CreateRandomValidatorSet() (*tmtypes.ValidatorSet, error) + func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey + func GenSignedMockTx(r *rand.Rand, txConfig client.TxConfig, msgs []sdk.Msg, feeAmt sdk.Coins, ...) (sdk.Tx, error) + func GenesisStateWithValSet(codec codec.Codec, genesisState map[string]json.RawMessage, ...) (map[string]json.RawMessage, error) + func GetSimulationLog(storeName string, sdr sdk.StoreDecoderRegistry, kvAs, kvBs []kv.Pair) (log string) + func NewAppOptionsWithFlagHome(homePath string) servertypes.AppOptions + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func PrintStats(db dbm.DB) + func Setup(appConfig depinject.Config, extraOutputs ...interface{}) (*runtime.App, error) + func SetupAtGenesis(appConfig depinject.Config, extraOutputs ...interface{}) (*runtime.App, error) + func SetupSimulation(config simtypes.Config, dirPrefix, dbName string, verbose, skip bool) (dbm.DB, string, log.Logger, bool, error) + func SetupWithConfiguration(appConfig depinject.Config, startupConfig StartupConfig, ...) (*runtime.App, error) + func SignCheckDeliver(t *testing.T, txCfg client.TxConfig, app *baseapp.BaseApp, header types.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func SimulationOperations(app runtime.AppI, cdc codec.JSONCodec, config simtypes.Config) []simtypes.WeightedOperation + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type AppOptionsMap map[string]interface + func (m AppOptionsMap) Get(key string) interface{} + type BondDenomProvider interface + BondDenom func(ctx sdk.Context) string + type EmptyAppOptions struct + func (ao EmptyAppOptions) Get(o string) interface{} + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisAccount struct + Coins sdk.Coins + type StartupConfig struct + AtGenesis bool + BaseAppOption runtime.BaseAppOption + GenesisAccounts []GenesisAccount + ValidatorSet func() (*tmtypes.ValidatorSet, error) + func DefaultStartUpConfig() StartupConfig