Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + const MockFeePort + var DefaultCLIHome = os.ExpandEnv(system.ClientHome) + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultNodeHome = os.ExpandEnv(system.ServerHome) + 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 GlobalGpIndex = GasPriceIndex + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, supply.AppModuleBasic{}, genutil.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.CodecProxy, simManager *module.SimulationManager) simtypes.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc codec.CodecProxy, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc codec.CodecProxy, ...) (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) []cryptotypes2.PubKey + func FundAccount(app *SimApp, ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error + func GenSequenceOfTxs(txGen client.TxConfig, msgs []ibcmsg.Msg, accNums []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 NewAccHandler(ak auth.AccountKeeper) sdk.AccNonceHandler + func NewConfigFromFlags() simulation.Config + func NewEvmSysContractAddressHandler(ak *evm.Keeper) sdk.EvmSysContractAddressHandler + func NewPubKeyFromHex(pk string) (res cryptotypes2.PubKey) + func PreRun(ctx *server.Context) error + func PrintStats(db dbm.DB) + 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.Codec, config simtypes.Config) []simtypes.WeightedOperation + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type App interface + BeginBlocker func(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + EndBlocker func(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + ExportAppStateAndValidators func(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tmtypes.GenesisValidator, error) + InitChainer func(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + 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 GasPriceIndex struct + RecommendGp *big.Int + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState() GenesisState + type SimApp struct + AccountKeeper auth.AccountKeeper + BankKeeper *bank.BankKeeperAdapter + CapabilityKeeper *capabilitykeeper.Keeper + CodecProxy *codec.CodecProxy + CrisisKeeper crisis.Keeper + DistrKeeper distr.Keeper + Erc20Keeper erc20.Keeper + EvidenceKeeper evidence.Keeper + EvmKeeper *evm.Keeper + FeeMockModule mock.IBCModule + GovKeeper gov.Keeper + IBCFeeKeeper ibcfeekeeper.Keeper + IBCKeeper *ibc.Keeper + ICAAuthModule mock.IBCModule + ICAControllerKeeper icacontrollerkeeper.Keeper + ICAHostKeeper icahostkeeper.Keeper + ICAMauthKeeper icamauthkeeper.Keeper + MintKeeper mint.Keeper + ParamsKeeper params.Keeper + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedIBCMockKeeper capabilitykeeper.ScopedKeeper + ScopedICAHostKeeper capabilitykeeper.ScopedKeeper + ScopedICAMockKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + SlashingKeeper slashing.Keeper + StakingKeeper staking.Keeper + SupplyKeeper *supply.KeeperAdapter + TokenKeeper token.Keeper + TransferKeeper ibctransferkeeper.Keeper + UpgradeKeeper upgrade.Keeper + WasmHandler wasmkeeper.HandlerOption + func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *SimApp + func Setup(isCheckTx bool) *SimApp + func SetupWithGenesisAccounts(genAccs []authexported.GenesisAccount, balances sdk.Coins) *SimApp + func (app *SimApp) AppCodec() *codec.CodecProxy + func (app *SimApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *SimApp) Codec() *codec.Codec + func (app *SimApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error) + func (app *SimApp) GetBaseApp() *bam.BaseApp + func (app *SimApp) GetFacadedKeeper() *ibc.Keeper + 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() (cap capabilitykeeper.ScopedKeeper) + func (app *SimApp) GetStakingKeeper() staking.Keeper + func (app *SimApp) GetSubspace(moduleName string) params.Subspace + func (app *SimApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *SimApp) LastBlockHeight() int64 + func (app *SimApp) LastCommitID() sdk.CommitID + func (app *SimApp) LoadHeight(height int64) error + func (app *SimApp) LoadStartVersion(height int64) error + func (app *SimApp) Marshal() *codec.CodecProxy + func (app *SimApp) ModuleAccountAddrs() map[string]bool + func (app *SimApp) Name() string + func (app *SimApp) SetOption(req abci.RequestSetOption) (res abci.ResponseSetOption) + func (app *SimApp) SimulationManager() *module.SimulationManager + func (o *SimApp) CollectUpgradeModules(m *module.Manager) (map[int64]*upgradetypes.HeightTasks, map[string]params.ParamSet, ...) + func (o *SimApp) TxConfig() client.TxConfig + 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