tests

package
v0.0.0-...-eab7081 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CHAIN_BUILD_ENABLED = false
)

Variables

This section is empty.

Functions

func Await

func Await(f func() (bool, error), maxWait time.Duration, retryInterval time.Duration) error

func BuildInitialChain

func BuildInitialChain(t *testing.T, chains []ibc.Chain) context.Context

func CreateHyperlaneSimds

func CreateHyperlaneSimds(t *testing.T, image ibc.DockerImage, chainDomains []uint32) []ibc.Chain

Create a hyperlane ibc.Chain for each chain domain passed in.

func CreateSingleHyperlaneSimd

func CreateSingleHyperlaneSimd(t *testing.T) []ibc.Chain

func ModifyGenesisProposalTime

func ModifyGenesisProposalTime(votingPeriod string, maxDepositPeriod string, domain uint32) func(ibc.ChainConfig, []byte) ([]byte, error)

func NewLogger

func NewLogger(t zaptest.TestingT) *zap.Logger

func RunCommand

func RunCommand(bin string, args ...string) (*cmd.Cmd, error)

RunCommand starts the command [bin] with the given [args] and returns the command to the caller TODO cmd package mentions we can do this more efficiently with cmd.NewCmdOptions rather than looping and calling Status().

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL