tests/

directory
v0.0.0-...-2617881 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0

README

Hyperlane tests

This directory contains all necessary files for building a dummy binary with pre-initialized state and providing a full test suite for the integration tests.

Dummy binary

Run

make build-simapp

in the root directory. Then go to ./build and run

./hypd init-sample-chain --home <chain-home>
./hypd start --home <chain-home>

The chain comes configured with three test accounts which are available in the <home>/keyring-test.

Integration tests

Import the tests/integration package. In your code run

integration.NewCleanChain()

to obtain a full test-suite with a pre-configured chain.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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