Versions in this module Expand all Collapse all v1 v1.0.0 Nov 6, 2021 Changes in this version + const AddrLen + const Day + const DefaultBondDenom + const DefaultBridgeEthereumAddress + const DefaultGravityId + const DefaultMaxValidators + const DefaultMintDenom + const DefaultPeriod + const DefaultSignedBlocksWindow + const DefaultUnbondingTime + const DefaultWindowTime + const Name + const SimAppChainID + const TestAppChainID + const VotingPeriod + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultCrisisConstantFee = sdk.NewInt(1000) + var DefaultGovMinDepositAmount = sdk.NewInt(1000000000000000000) + 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 *App, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AddTestAddrsFromPubKeys(app *App, ctx sdk.Context, pubKeys []cryptotypes.PubKey, accAmt sdk.Int) + func AddTestAddrsIncremental(app *App, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func CheckBalance(t *testing.T, app *App, addr sdk.AccAddress, balances sdk.Coins) + func CheckExportSimulation(app CosmosApp, config simtypes.Config, params simtypes.Params) error + func ConvertAddrsToValAddrs(addrs []sdk.AccAddress) []sdk.ValAddress + func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey + func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, ...) error + func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, ...) 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 MakeEncodingConfig() params.EncodingConfig + func NewConfigFromFlags() simulation.Config + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func PrintStats(db dbm.DB) + func SetConfig() + func SetupSimulation(dirPrefix, dbName string) (simtypes.Config, dbm.DB, string, log.Logger, bool, error) + func SignCheckDeliver(t *testing.T, txCfg client.TxConfig, app *bam.BaseApp, header tmproto.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func SimulationOperations(app CosmosApp, cdc codec.JSONCodec, config simtypes.Config) []simtypes.WeightedOperation + func StateFn(cdc codec.JSONCodec, simManager *module.SimulationManager) simtypes.AppStateFn + func StateFromGenesisFileFn(r io.Reader, cdc codec.JSONCodec, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account) + func StateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc codec.JSONCodec, ...) (json.RawMessage, []simtypes.Account) + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + func VerifyAddressFormat(bz []byte) error + type App struct + AccountKeeper authkeeper.AccountKeeper + AuthzKeeper authzkeeper.Keeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + DistrKeeper distrkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + EvmKeeper *evmkeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GovKeeper govkeeper.Keeper + GravityKeeper gravitykeeper.Keeper + IBCKeeper *ibckeeper.Keeper + MintxKeeper mintxkeeper.Keeper + ParamsKeeper paramskeeper.Keeper + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + SeeleKeeper seelekeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + StakingKeeper stakingkeeper.Keeper + TransferKeeper ibctransferkeeper.Keeper + UpgradeKeeper upgradekeeper.Keeper + func New(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *App + func Setup(isCheckTx bool, seeleAdmin string) *App + func SetupWithGenesisAccounts(genAccs []authtypes.GenesisAccount, balances ...banktypes.Balance) *App + func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, ...) *App + func (app *App) AppCodec() codec.Codec + func (app *App) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error) + func (app *App) GetKey(storeKey string) *sdk.KVStoreKey + func (app *App) GetMemKey(storeKey string) *sdk.MemoryStoreKey + func (app *App) GetSubspace(moduleName string) paramstypes.Subspace + func (app *App) GetTKey(storeKey string) *sdk.TransientStoreKey + func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *App) InterfaceRegistry() types.InterfaceRegistry + func (app *App) LegacyAmino() *codec.LegacyAmino + func (app *App) LoadHeight(height int64) error + func (app *App) ModuleAccountAddrs() map[string]bool + func (app *App) Name() string + func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *App) RegisterTendermintService(clientCtx client.Context) + func (app *App) RegisterTxService(clientCtx client.Context) + func (app *App) SimulationManager() *module.SimulationManager + type CosmosApp 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, 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 CrisisModuleBasic struct + func (CrisisModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type DistributionModuleBasic struct + func (DistributionModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type EmptyAppOptions struct + func (ao EmptyAppOptions) Get(o string) interface{} + type EvmModuleBasic struct + func (EvmModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState(cdc codec.JSONCodec) GenesisState + type GovModuleBasic struct + func (GovModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type GravityModuleBasic struct + func (GravityModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type MintxModuleBasic struct + func (MintxModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type SlashingModuleBasic struct + func (SlashingModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage + type StakingModuleBasic struct + func (StakingModuleBasic) DefaultGenesis(cdc codec.JSONCodec) json.RawMessage