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. 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 )
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 ¶
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 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.