Versions in this module Expand all Collapse all v4 v4.0.1 May 17, 2022 Changes in this version + func WriteFile(name string, dir string, contents []byte) error + type AppConstructor = func(val Validator) servertypes.Application + func NewAppConstructor(encodingCfg params.EncodingConfig) AppConstructor + 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 sdk.Int + AppConstructor AppConstructor + BondDenom string + BondedTokens sdk.Int + ChainID string + CleanupDir bool + Codec codec.Codec + EnableTMLogging bool + GRPCAddress string + GenesisState simapp.GenesisState + InterfaceRegistry codectypes.InterfaceRegistry + JSONRPCAddress string + KeyringOptions []keyring.Option + LegacyAmino *codec.LegacyAmino + MinGasPrices string + NumValidators int + PrintMnemonic bool + PruningStrategy string + RPCAddress string + SigningAlgo string + StakingTokens sdk.Int + TimeoutCommit time.Duration + TxConfig client.TxConfig + func DefaultConfig() Config + 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 Validator struct + APIAddress string + Address sdk.AccAddress + AppConfig *config.Config + ClientCtx client.Context + Ctx *server.Context + Dir string + JSONRPCClient *ethclient.Client + Moniker string + NodeID string + P2PAddress string + PubKey cryptotypes.PubKey + RPCAddress string + RPCClient tmclient.Client + ValAddress sdk.ValAddress