Versions in this module Expand all Collapse all v0 v0.47.0 Aug 13, 2022 Changes in this version + func MinimumAppConfig() depinject.Config + type AppConstructor = func(val moduletestutil.Validator) servertypes.Application + type CLILogger struct + func NewCLILogger(cmd *cobra.Command) CLILogger + func (s CLILogger) Log(args ...interface{}) + func (s CLILogger) Logf(format string, args ...interface{}) + type Config struct + APIAddress string + AccountRetriever client.AccountRetriever + AccountTokens math.Int + AppConstructor AppConstructor + BondDenom string + BondedTokens math.Int + ChainID string + CleanupDir bool + Codec codec.Codec + EnableTMLogging bool + GRPCAddress string + GenesisState map[string]json.RawMessage + InterfaceRegistry codectypes.InterfaceRegistry + KeyringOptions []keyring.Option + LegacyAmino *codec.LegacyAmino + MinGasPrices string + Mnemonics []string + NumValidators int + PrintMnemonic bool + PruningStrategy string + RPCAddress string + SigningAlgo string + StakingTokens math.Int + TimeoutCommit time.Duration + TxConfig client.TxConfig + func DefaultConfig(factory TestFixtureFactory) Config + func DefaultConfigWithAppConfig(appConfig depinject.Config) (Config, error) + type Logger interface + Log func(args ...interface{}) + Logf func(format string, args ...interface{}) + type Network struct + BaseDir string + Config Config + Logger Logger + Validators []*Validator + func New(l Logger, baseDir string, cfg Config) (*Network, error) + func (n *Network) Cleanup() + func (n *Network) LatestHeight() (int64, error) + func (n *Network) WaitForHeight(h int64) (int64, error) + func (n *Network) WaitForHeightWithTimeout(h int64, t time.Duration) (int64, error) + func (n *Network) WaitForNextBlock() error + type TestFixture struct + AppConstructor AppConstructor + EncodingConfig moduletestutil.TestEncodingConfig + GenesisState map[string]json.RawMessage + type TestFixtureFactory = func() TestFixture + type Validator struct + APIAddress string + Address sdk.AccAddress + AppConfig *srvconfig.Config + ClientCtx client.Context + Ctx *server.Context + Dir string + Moniker string + NodeID string + P2PAddress string + PubKey cryptotypes.PubKey + RPCAddress string + RPCClient tmclient.Client + ValAddress sdk.ValAddress + func (v Validator) GetAppConfig() *srvconfig.Config + func (v Validator) GetCtx() *server.Context