e2e

package
v0.1.0-nebula.4 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2023 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

package e2e defines an integration testing suite used for full end-to-end testing functionality.

The file e2e_suite_test.go defines the testing suite and contains the core bootrapping logic that creates a testing environment via Docker containers. A testing network is created dynamically and contains multiple Docker containers:

1. A single validator Gaia network 2. A configurable number of Nebula validator processes 3. A hermes relayer connecting the Nebula and Gaia networks over IBC 4. A single Ethereum node 5. A configurable number of Peggy orchestrator processes

The file e2e_test.go contains the actual end-to-end integration tests that utilize the testing suite.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allocation

type Allocation struct {
	Balance string `json:"balance"`
}

type EthereumConfig

type EthereumConfig struct {
	ChainID             uint `json:"chainId"`
	HomesteadBlock      uint `json:"homesteadBlock"`
	EIP150Block         uint `json:"eip150Block"`
	EIP155Block         uint `json:"eip155Block"`
	EIP158Block         uint `json:"eip158Block"`
	ByzantiumBlock      uint `json:"byzantiumBlock"`
	ConstantinopleBlock uint `json:"constantinopleBlock"`
	PetersburgBlock     uint `json:"petersburgBlock"`
	IstanbulBlock       uint `json:"istanbulBlock"`
	BerlinBlock         uint `json:"berlinBlock"`
}

type EthereumGenesis

type EthereumGenesis struct {
	Difficulty string                `json:"difficulty"`
	GasLimit   string                `json:"gasLimit"`
	Config     EthereumConfig        `json:"config"`
	Alloc      map[string]Allocation `json:"alloc"`
}

Jump to

Keyboard shortcuts

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