Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type E2ETestConfig ¶
type E2ETestConfig struct { // AdditionalServices specifies any extra services that should be included // in the test environment. AdditionalServices []any `json:"additional_services"` // Validators lists the configurations for each validator in the test. Validators []Node `json:"validators"` // FullNodes specifies the number of full nodes to include in the test. FullNodes []Node `json:"full_nodes"` // RPCEndpoints specifies the RPC endpoints to include in the test. RPCEndpoints []RPCEndpoint `json:"rpc_endpoints"` }
E2ETestConfig defines the configuration for end-to-end tests, including any additional services and validators involved.
func DefaultE2ETestConfig ¶
func DefaultE2ETestConfig() *E2ETestConfig
func (*E2ETestConfig) MustMarshalJSON ¶
func (c *E2ETestConfig) MustMarshalJSON() []byte
MustMarshalJSON marshals the E2ETestConfig to JSON, panicking if an error.
type Node ¶
type Node struct { // ClImage specifies the Docker image to use for the consensus layer // client. ClImage string `json:"cl_image"` // ClType denotes the type of consensus layer client (e.g., // beaconkit). ClType string `json:"cl_type"` // ElType denotes the type of execution layer client (e.g., reth). ElType string `json:"el_type"` // Replicas specifies the number of replicas to use for the client. Replicas int `json:"replicas"` }
Validator holds the configuration for a single validator in the test, including client images and types.
type RPCEndpoint ¶
Click to show internal directories.
Click to hide internal directories.