Documentation ¶
Overview ¶
Package components defines utilities to spin up actual beacon node and validator processes as needed by end to end tests.
Index ¶
- func SendAndMineDeposits(t *testing.T, keystorePath string, validatorNum, offset int)
- func StartBeaconNodes(t *testing.T, config *types.E2EConfig, enr string)
- func StartBootnode(t *testing.T) string
- func StartEth1Node(t *testing.T) string
- func StartNewBeaconNode(t *testing.T, config *types.E2EConfig, index int, enr string)
- func StartNewValidatorClient(t *testing.T, config *types.E2EConfig, validatorNum, index, offset int)
- func StartSlashers(t *testing.T)
- func StartValidatorClients(t *testing.T, config *types.E2EConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendAndMineDeposits ¶ added in v1.0.0
SendAndMineDeposits sends the requested amount of deposits and mines the chain after to ensure the deposits are seen.
func StartBeaconNodes ¶
StartBeaconNodes starts the requested amount of beacon nodes.
func StartBootnode ¶ added in v1.0.0
StartBootnode starts a bootnode and returns its ENR.
func StartEth1Node ¶
StartEth1Node starts an eth1 local dev chain and deploys a deposit contract.
func StartNewBeaconNode ¶
StartNewBeaconNode starts a fresh beacon node, connecting to all passed in beacon nodes.
func StartNewValidatorClient ¶ added in v1.0.0
func StartNewValidatorClient(t *testing.T, config *types.E2EConfig, validatorNum, index, offset int)
StartNewValidatorClient starts a validator client with the passed in configuration.
func StartSlashers ¶
StartSlashers starts slasher clients for use within E2E, connected to all beacon nodes.
Types ¶
This section is empty.