params

package
v1.0.0-alpha.10.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

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 SlasherLogFileName = "slasher-%d.log"

SlasherLogFileName is the file name used for the slasher client logs.

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

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

Functions

func Init

func Init(beaconNodeCount int) error

Init initializes the E2E config, properly handling test sharding.

Types

type Params

type Params struct {
	TestPath              string
	LogPath               string
	TestShardIndex        int
	BeaconNodeCount       int
	Eth1RPCPort           int
	ContractAddress       common.Address
	BootNodePort          int
	BeaconNodeRPCPort     int
	BeaconNodeMetricsPort int
	ValidatorMetricsPort  int
	SlasherRPCPort        int
	SlasherMetricsPort    int
}

Params struct defines the parameters needed for running E2E tests to properly handle test sharding.

var TestParams *Params

TestParams is the globally accessible var for getting config elements.

Jump to

Keyboard shortcuts

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