Documentation ¶
Overview ¶
Package params defines all custom parameter configurations for running end to end tests.
Index ¶
Constants ¶
const ( // Every EL component has an offset that manages which port it is assigned. The miner always gets offset=0. MinerComponentOffset = 0 Eth1StaticFilesPath = "/testing/endtoend/static-files/eth1" // 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 )
const ( BootNodePort = 2150 BootNodeMetricsPort = BootNodePort + portSpan Eth1Port = 3150 Eth1RPCPort = Eth1Port + portSpan Eth1WSPort = Eth1Port + 2*portSpan Eth1AuthRPCPort = Eth1Port + 3*portSpan Eth1ProxyPort = Eth1Port + 4*portSpan PrysmBeaconNodeRPCPort = 4150 PrysmBeaconNodeUDPPort = PrysmBeaconNodeRPCPort + portSpan PrysmBeaconNodeTCPPort = PrysmBeaconNodeRPCPort + 2*portSpan PrysmBeaconNodeGatewayPort = PrysmBeaconNodeRPCPort + 3*portSpan PrysmBeaconNodeMetricsPort = PrysmBeaconNodeRPCPort + 4*portSpan PrysmBeaconNodePprofPort = PrysmBeaconNodeRPCPort + 5*portSpan LighthouseBeaconNodeP2PPort = 5150 LighthouseBeaconNodeHTTPPort = LighthouseBeaconNodeP2PPort + portSpan LighthouseBeaconNodeMetricsPort = LighthouseBeaconNodeP2PPort + 2*portSpan ValidatorGatewayPort = 6150 ValidatorMetricsPort = ValidatorGatewayPort + portSpan JaegerTracingPort = 9150 StartupBufferSecs = 15 )
Base port values.
Variables ¶
var BeaconNodeLogFileName = "beacon-%d.log"
BeaconNodeLogFileName is the file name used for the beacon chain node logs.
var BootNodeLogFileName = "bootnode.log"
BootNodeLogFileName is the file name used for the beacon chain node logs.
var DepositCount = uint64(64)
DepositCount is the number of deposits the E2E runner should make to evaluate post-genesis deposit processing.
var ExpectedExecEngineTxsThreshold = 0.5
ExpectedExecEngineTxsThreshold is the portion of execution engine transactions we expect to find in blocks.
var NumOfExecEngineTxs = uint64(200)
NumOfExecEngineTxs is the number of transaction sent to the execution engine.
var PregenesisExecCreds = uint64(8)
PregenesisExecCreds is the number of withdrawal credentials of genesis validators which use an execution address.
var StandardBeaconCount = 2
StandardBeaconCount is a global constant for the count of beacon nodes of standard E2E tests.
var StandardLighthouseNodeCount = 2
StandardLighthouseNodeCount is a global constant for the count of lighthouse beacon nodes of standard E2E tests.
var TestParams *params
TestParams is the globally accessible var for getting config elements.
var TracingRequestSinkFileName = "tracing-http-requests.log.gz"
TracingRequestSinkFileName is the file name for writing raw trace requests.
var ValidatorLogFileName = "vals-%d.log"
ValidatorLogFileName is the file name used for the validator client logs.
Functions ¶
Types ¶
This section is empty.