Versions in this module Expand all Collapse all v7 v7.0.1 Sep 8, 2023 v7.0.0 Aug 15, 2023 Changes in this version + type Chain interface + Acknowledgements func(ctx context.Context, height uint64) ([]PacketAcknowledgement, error) + BuildRelayerWallet func(ctx context.Context, keyName string) (Wallet, error) + BuildWallet func(ctx context.Context, keyName string, mnemonic string) (Wallet, error) + Config func() ChainConfig + CreateKey func(ctx context.Context, keyName string) error + Exec func(ctx context.Context, cmd []string, env []string) (stdout, stderr []byte, err error) + ExportState func(ctx context.Context, height int64) (string, error) + GetAddress func(ctx context.Context, keyName string) ([]byte, error) + GetBalance func(ctx context.Context, address string, denom string) (math.Int, error) + GetGRPCAddress func() string + GetGasFeesInNativeDenom func(gasPaid int64) int64 + GetHostGRPCAddress func() string + GetHostRPCAddress func() string + GetRPCAddress func() string + Height func(ctx context.Context) (uint64, error) + HomeDir func() string + Initialize func(ctx context.Context, testName string, cli *client.Client, networkID string) error + RecoverKey func(ctx context.Context, name, mnemonic string) error + SendFunds func(ctx context.Context, keyName string, amount WalletAmount) error + SendIBCTransfer func(ctx context.Context, channelID, keyName string, amount WalletAmount, ...) (Tx, error) + Start func(testName string, ctx context.Context, additionalGenesisWallets ...WalletAmount) error + Timeouts func(ctx context.Context, height uint64) ([]PacketTimeout, error) + type ChainConfig struct + Bech32Prefix string + Bin string + ChainID string + CoinType string + ConfigFileOverrides map[string]any + Denom string + EncodingConfig *testutil.TestEncodingConfig + GasAdjustment float64 + GasPrices string + Images []DockerImage + ModifyGenesis func(ChainConfig, []byte) ([]byte, error) + ModifyGenesisAmounts func() (sdk.Coin, sdk.Coin) + Name string + NoHostMount bool + PreGenesis func(ChainConfig) error + SidecarConfigs []SidecarConfig + SkipGenTx bool + TrustingPeriod string + Type string + UsingChainIDFlagCLI bool + UsingNewGenesisCommand bool + func (c ChainConfig) Clone() ChainConfig + func (c ChainConfig) IsFullyConfigured() bool + func (c ChainConfig) MergeChainSpecConfig(other ChainConfig) ChainConfig + func (c ChainConfig) VerifyCoinType() (string, error) + type ChannelCounterparty struct + ChannelID string + PortID string + type ChannelFilter struct + ChannelList []string + Rule string + type ChannelOutput struct + ChannelID string + ConnectionHops []string + Counterparty ChannelCounterparty + Ordering string + PortID string + State string + Version string + func GetTransferChannel(ctx context.Context, r Relayer, rep RelayerExecReporter, ...) (*ChannelOutput, error) + type ClientOutput struct + ClientID string + ClientState ClientState + type ClientOutputs []*ClientOutput + type ClientState struct + ChainID string + type ConnectionOutput struct + ClientID string + Counterparty *ibcexported.Counterparty + DelayPeriod string + ID string + State string + Versions []*ibcexported.Version + type ConnectionOutputs []*ConnectionOutput + type CreateChannelOptions struct + DestPortName string + Order Order + SourcePortName string + Version string + func DefaultChannelOpts() CreateChannelOptions + func (opts CreateChannelOptions) Validate() error + type CreateClientOptions struct + TrustingPeriod string + func DefaultClientOpts() CreateClientOptions + func (opts CreateClientOptions) Validate() error + type DockerImage struct + Repository string + UidGid string + Version string + func (i DockerImage) Ref() string + type IBCTimeout struct + Height uint64 + NanoSeconds uint64 + type Nanoseconds uint64 + type NopRelayerExecReporter struct + func (NopRelayerExecReporter) TrackRelayerExec(string, []string, string, string, int, time.Time, time.Time, error) + type Order int + const Invalid + const Ordered + const Unordered + func (o Order) String() string + func (o Order) Validate() error + type Packet struct + Data []byte + DestChannel string + DestPort string + Sequence uint64 + SourceChannel string + SourcePort string + TimeoutHeight string + TimeoutTimestamp Nanoseconds + func (packet Packet) Equal(other Packet) bool + func (packet Packet) Validate() error + type PacketAcknowledgement struct + Acknowledgement []byte + Packet Packet + func (ack PacketAcknowledgement) Validate() error + type PacketTimeout struct + Packet Packet + func (timeout PacketTimeout) Validate() error + type Relayer interface + AddChainConfiguration func(ctx context.Context, rep RelayerExecReporter, chainConfig ChainConfig, ...) error + AddKey func(ctx context.Context, rep RelayerExecReporter, ...) (Wallet, error) + CreateChannel func(ctx context.Context, rep RelayerExecReporter, pathName string, ...) error + CreateClients func(ctx context.Context, rep RelayerExecReporter, pathName string, ...) error + CreateConnections func(ctx context.Context, rep RelayerExecReporter, pathName string) error + Exec func(ctx context.Context, rep RelayerExecReporter, cmd []string, env []string) RelayerExecResult + Flush func(ctx context.Context, rep RelayerExecReporter, pathName string, ...) error + GeneratePath func(ctx context.Context, rep RelayerExecReporter, ...) error + GetChannels func(ctx context.Context, rep RelayerExecReporter, chainID string) ([]ChannelOutput, error) + GetClients func(ctx context.Context, rep RelayerExecReporter, chainID string) (ClientOutputs, error) + GetConnections func(ctx context.Context, rep RelayerExecReporter, chainID string) (ConnectionOutputs, error) + GetWallet func(chainID string) (Wallet, bool) + LinkPath func(ctx context.Context, rep RelayerExecReporter, pathName string, ...) error + RestoreKey func(ctx context.Context, rep RelayerExecReporter, cfg ChainConfig, ...) error + SetClientContractHash func(ctx context.Context, rep RelayerExecReporter, cfg ChainConfig, hash string) error + StartRelayer func(ctx context.Context, rep RelayerExecReporter, pathNames ...string) error + StopRelayer func(ctx context.Context, rep RelayerExecReporter) error + UpdateClients func(ctx context.Context, rep RelayerExecReporter, pathName string) error + UpdatePath func(ctx context.Context, rep RelayerExecReporter, pathName string, ...) error + UseDockerNetwork func() bool + type RelayerExecReporter interface + TrackRelayerExec func(containerName string, command []string, stdout, stderr string, exitCode int, ...) + type RelayerExecResult struct + Err error + ExitCode int + Stderr []byte + Stdout []byte + type RelayerImplementation int64 + const CosmosRly + const Hermes + const Hyperspace + type SidecarConfig struct + HomeDir string + Image DockerImage + Ports []string + PreStart bool + ProcessName string + StartCmd []string + ValidatorProcess bool + type TransferOptions struct + Memo string + Timeout *IBCTimeout + type Tx struct + GasSpent int64 + Height uint64 + Packet Packet + TxHash string + func (tx Tx) Validate() error + type Wallet interface + Address func() []byte + FormattedAddress func() string + KeyName func() string + Mnemonic func() string + type WalletAmount struct + Address string + Amount math.Int + Denom string