params

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package params defines all custom parameter configurations for running end to end tests.

Index

Constants

View Source
const (
	// Every EL component has an offset that manages which port it is assigned. The miner always gets offset=0.
	ExecutionNodeComponentOffset = 0
	StaticFilesPath              = "/testing/endtoend/static-files/zond"

	// DepositGasLimit is the gas limit used for all deposit transactions. The exact value probably isn't important
	// since these are the only transactions in the e2e run.
	DepositGasLimit = 4000000
	// SpamTxGasLimit is used for the spam transactions (to/from miner address)
	// which WaitForBlocks generates in order to advance the EL chain.
	SpamTxGasLimit = 21000
)
View Source
const (
	BootNodePort        = 2150
	BootNodeMetricsPort = BootNodePort + portSpan

	GzondExecutionNodePort        = 3150
	GzondExecutionNodeRPCPort     = GzondExecutionNodePort + portSpan
	GzondExecutionNodeWSPort      = GzondExecutionNodePort + 2*portSpan
	GzondExecutionNodeAuthRPCPort = GzondExecutionNodePort + 3*portSpan
	ExecutionNodeProxyPort        = GzondExecutionNodePort + 4*portSpan

	QrysmBeaconNodeRPCPort     = 4150
	QrysmBeaconNodeUDPPort     = QrysmBeaconNodeRPCPort + portSpan
	QrysmBeaconNodeTCPPort     = QrysmBeaconNodeRPCPort + 2*portSpan
	QrysmBeaconNodeGatewayPort = QrysmBeaconNodeRPCPort + 3*portSpan
	QrysmBeaconNodeMetricsPort = QrysmBeaconNodeRPCPort + 4*portSpan
	QrysmBeaconNodePprofPort   = QrysmBeaconNodeRPCPort + 5*portSpan

	ValidatorGatewayPort = 6150
	ValidatorMetricsPort = ValidatorGatewayPort + portSpan

	JaegerTracingPort = 9150

	StartupBufferSecs = 15
)

Base port values.

Variables

View Source
var BeaconNodeLogFileName = "beacon-%d.log"

BeaconNodeLogFileName is the file name used for the beacon chain node logs.

View Source
var BootNodeLogFileName = "bootnode.log"

BootNodeLogFileName is the file name used for the beacon chain node logs.

View Source
var DepositCount = uint64(64)

DepositCount is the number of deposits the E2E runner should make to evaluate post-genesis deposit processing.

View Source
var ExpectedExecEngineTxsThreshold = 0.5

ExpectedExecEngineTxsThreshold is the portion of execution engine transactions we expect to find in blocks.

View Source
var NumOfExecEngineTxs = uint64(200)

NumOfExecEngineTxs is the number of transaction sent to the execution engine.

View Source
var PregenesisExecCreds = uint64(8)

PregenesisExecCreds is the number of withdrawal credentials of genesis validators which use an execution address.

View Source
var StandardBeaconCount = 2

StandardBeaconCount is a global constant for the count of beacon nodes of standard E2E tests.

View Source
var TestParams *params

TestParams is the globally accessible var for getting config elements.

View Source
var TracingRequestSinkFileName = "tracing-http-requests.log.gz"

TracingRequestSinkFileName is the file name for writing raw trace requests.

View Source
var ValidatorLogFileName = "vals-%d.log"

ValidatorLogFileName is the file name used for the validator client logs.

Functions

func Init

func Init(t *testing.T, beaconNodeCount int) error

Init initializes the E2E config, properly handling test sharding.

Types

This section is empty.

Jump to

Keyboard shortcuts

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