Versions in this module Expand all Collapse all v3 v3.3.3 Apr 19, 2023 Changes in this version + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultNodeHome string + var FlagAllInvariantsValue bool + var FlagBlockSizeValue int + var FlagCommitValue bool + var FlagEnabledValue bool + var FlagExportParamsHeightValue int + var FlagExportParamsPathValue string + var FlagExportStatePathValue string + var FlagExportStatsPathValue string + var FlagGenesisFileValue string + var FlagGenesisTimeValue int64 + var FlagInitialBlockHeightValue int + var FlagLeanValue bool + var FlagNumBlocksValue int + var FlagOnOperationValue bool + var FlagParamsFileValue string + var FlagPeriodValue uint + var FlagSeedValue int64 + var FlagVerboseValue bool + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, genutil.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + func AddTestAddrs(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AddTestAddrsFromPubKeys(app *SimApp, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdk.Int) + func AddTestAddrsIncremental(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AppStateFn(cdc codec.JSONCodec, simManager *module.SimulationManager) simtypes.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc codec.JSONCodec, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc codec.JSONCodec, ...) (json.RawMessage, []simtypes.Account) + func CheckBalance(t *testing.T, app *SimApp, addr sdk.AccAddress, balances sdk.Coins) + func CheckExportSimulation(app App, config simtypes.Config, params simtypes.Params) error + func ConvertAddrsToValAddrs(addrs []sdk.AccAddress) []sdk.ValAddress + func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey + func FundAccount(app *SimApp, ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error + func GenSequenceOfTxs(txGen client.TxConfig, msgs []sdk.Msg, accNums []uint64, initSeqNums []uint64, ...) ([]sdk.Tx, error) + func GetMaccPerms() map[string][]string + func GetSimulationLog(storeName string, sdr sdk.StoreDecoderRegistry, kvAs, kvBs []kv.Pair) (log string) + func GetSimulatorFlags() + func MakeTestEncodingConfig() simappparams.EncodingConfig + func NewAnteHandler(options HandlerOptions) (sdk.AnteHandler, error) + func NewConfigFromFlags() simulation.Config + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func PrintStats(db dbm.DB) + func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router) + func SetupSimulation(dirPrefix, dbName string) (simtypes.Config, dbm.DB, string, log.Logger, bool, error) + func SignAndDeliver(t *testing.T, txCfg client.TxConfig, app *bam.BaseApp, header tmproto.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func SimulationOperations(app App, cdc codec.JSONCodec, config simtypes.Config) []simtypes.WeightedOperation + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type App interface + BeginBlocker func(ctx sdk.Context, req ocabci.RequestBeginBlock) abci.ResponseBeginBlock + EndBlocker func(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + ExportAppStateAndValidators func(forZeroHeight bool, jailAllowedAddrs []string) (types.ExportedApp, error) + InitChainer func(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + LegacyAmino func() *codec.LegacyAmino + LoadHeight func(height int64) error + ModuleAccountAddrs func() map[string]bool + Name func() string + SimulationManager func() *module.SimulationManager + type EmptyAppOptions struct + func (ao EmptyAppOptions) Get(o string) interface{} + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState(cdc codec.JSONCodec) GenesisState + type HandlerOptions struct + IBCKeeper *keeper.Keeper + type SimApp struct + AccountKeeper authkeeper.AccountKeeper + AuthzKeeper authzkeeper.Keeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + DistrKeeper distrkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GovKeeper govkeeper.Keeper + IBCKeeper *ibckeeper.Keeper + ICAAuthModule ibcmock.IBCModule + ICAControllerKeeper icacontrollerkeeper.Keeper + ICAHostKeeper icahostkeeper.Keeper + MintKeeper mintkeeper.Keeper + ParamsKeeper paramskeeper.Keeper + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedIBCMockKeeper capabilitykeeper.ScopedKeeper + ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper + ScopedICAHostKeeper capabilitykeeper.ScopedKeeper + ScopedICAMockKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + SlashingKeeper slashingkeeper.Keeper + StakingKeeper stakingkeeper.Keeper + TransferKeeper ibctransferkeeper.Keeper + UpgradeKeeper upgradekeeper.Keeper + func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *SimApp + func Setup(isCheckTx bool) *SimApp + func SetupWithGenesisAccounts(genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *SimApp + func (app *SimApp) AppCodec() codec.Codec + func (app *SimApp) BeginBlocker(ctx sdk.Context, req ocabci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *SimApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error) + func (app *SimApp) GetBaseApp() *baseapp.BaseApp + func (app *SimApp) GetIBCKeeper() *ibckeeper.Keeper + func (app *SimApp) GetKey(storeKey string) *sdk.KVStoreKey + func (app *SimApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey + func (app *SimApp) GetModuleManager() *module.Manager + func (app *SimApp) GetScopedIBCKeeper() capabilitykeeper.ScopedKeeper + func (app *SimApp) GetStakingKeeper() stakingkeeper.Keeper + func (app *SimApp) GetSubspace(moduleName string) paramstypes.Subspace + func (app *SimApp) GetTKey(storeKey string) *sdk.TransientStoreKey + func (app *SimApp) GetTxConfig() client.TxConfig + func (app *SimApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *SimApp) InterfaceRegistry() types.InterfaceRegistry + func (app *SimApp) LegacyAmino() *codec.LegacyAmino + func (app *SimApp) LoadHeight(height int64) error + func (app *SimApp) ModuleAccountAddrs() map[string]bool + func (app *SimApp) Name() string + func (app *SimApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *SimApp) RegisterTendermintService(clientCtx client.Context) + func (app *SimApp) RegisterTxService(clientCtx client.Context) + func (app *SimApp) SimulationManager() *module.SimulationManager + type SimGenesisAccount struct + DelegatedFree sdk.Coins + DelegatedVesting sdk.Coins + EndTime int64 + ModuleName string + ModulePermissions []string + OriginalVesting sdk.Coins + StartTime int64 + func (sga SimGenesisAccount) Validate() error