endtoend

package
v7.1.8 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: GPL-3.0 Imports: 23 Imported by: 0

README

End-to-end Testing Package

This is the main project folder of the end-to-end testing suite for Prysm. This performs a full end-to-end test for Prysm, including spinning up an ETH1 dev chain, sending deposits to the deposit contract, and making sure the beacon node and its validators are running and performing properly for a few epochs. It also performs a test on a syncing node, and supports feature flags to allow easy E2E testing of experimental features.

How it works

Please see our docs page, https://docs.prylabs.network/docs/devtools/end-to-end, to read more about the feature.

Documentation

Index

Constants

View Source
const (
	// ETHEREUM_PACKAGE is the identifier of the ethereum-package Starlark package used in these tests.
	ETHEREUM_PACKAGE = "github.com/ethpandaops/ethereum-package"

	BEACON_CHAIN_IMAGE_TARGET = "cmd/beacon-chain/oci_image_tarball_e2e/tarball.tar"
	VALIDATOR_IMAGE_TARGET    = "cmd/validator/oci_image_tarball_e2e/tarball.tar"

	BEACON_CHAIN_IMAGE_NAME = "gcr.io/offchainlabs/prysm/beacon-chain:latest"
	VALIDATOR_IMAGE_NAME    = "gcr.io/offchainlabs/prysm/validator:latest"

	// Health check waits maximum 1 minute (30 retries * 2 seconds interval)
	MAX_HEALTH_CHECK_RETRY = 30
	HEALTH_CHECK_INTERVAL  = 2 * time.Second
)

Variables

This section is empty.

Functions

func LoadPrysmDockerImages

func LoadPrysmDockerImages(t *testing.T)

LoadPrysmDockerImages loads the Prysm beacon-chain and validator Docker images into the local Docker daemon with verification.

Types

type KurtosisTestSuites

type KurtosisTestSuites struct {
	// contains filtered or unexported fields
}

KurtosisTestSuites defines a suite of end-to-end tests to run against a Kurtosis enclave.

func (*KurtosisTestSuites) Run

func (k *KurtosisTestSuites) Run(t *testing.T)

Directories

Path Synopsis
Package components defines utilities to spin up actual beacon node and validator processes as needed by end to end tests.
Package components defines utilities to spin up actual beacon node and validator processes as needed by end to end tests.
Package evaluators defines functions which can peer into end to end tests to determine if a chain is running as required.
Package evaluators defines functions which can peer into end to end tests to determine if a chain is running as required.
Package helpers defines helper functions to peer into end to end processes and kill processes as needed.
Package helpers defines helper functions to peer into end to end processes and kill processes as needed.
Package params defines all custom parameter configurations for running end to end tests.
Package params defines all custom parameter configurations for running end to end tests.
Package types includes important structs used by end to end tests, such as a configuration type, an evaluator type, and more.
Package types includes important structs used by end to end tests, such as a configuration type, an evaluator type, and more.

Jump to

Keyboard shortcuts

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