params

package
v0.3.10 Latest Latest
Warning

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

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

Documentation

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 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
	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