ethereum_validator_cookbooks

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EphemeryValidatorClusterClassName = "ethereumEphemeralValidatorCluster"

	ValidatorSkeletonBaseName = "lighthouseHerculesValidatorClient"

	ExecSkeletonBase         = "gethHercules"
	ConsensusSkeletonBase    = "lighthouseHercules"
	ChoreographySkeletonBase = "choreography"

	EphemeryValidatorClusterDefinition = zeus_cluster_config_drivers.ClusterDefinition{
		ClusterClassName: EphemeryValidatorClusterClassName,
		CloudCtxNs:       ValidatorCloudCtxNs,
		ComponentBases:   ValidatorComponentBases,
	}
	ValidatorCloudCtxNs = zeus_common_types.CloudCtxNs{
		CloudProvider: "do",
		Region:        "sfo3",
		Context:       "do-sfo3-dev-do-sfo3-zeus",
		Namespace:     "ephemeral-staking",
		Env:           "production",
	}
	ValidatorComponentBases = map[string]zeus_cluster_config_drivers.ComponentBaseDefinition{
		"consensusClients":          ConsensusClientComponentBase,
		"execClients":               ExecClientComponentBase,
		"consensusValidatorClients": ValidatorClientComponentBase,
		"choreography":              choreography_cookbooks.ChoreographyComponentBase,
	}
	ConsensusClientComponentBase = ethereum_beacon_cookbooks.ConsensusClientComponentBase
	ExecClientComponentBase      = ethereum_beacon_cookbooks.ExecClientComponentBase
	ValidatorClientComponentBase = zeus_cluster_config_drivers.ComponentBaseDefinition{
		SkeletonBases: map[string]zeus_cluster_config_drivers.ClusterSkeletonBaseDefinition{
			"lighthouseHerculesValidatorClient": ValidatorClientClientSkeletonBaseConfig,
		},
	}
	ValidatorClientClientSkeletonBaseConfig = zeus_cluster_config_drivers.ClusterSkeletonBaseDefinition{
		SkeletonBaseNameChartPath: ValidatorsChartPath,
	}
)
View Source
var DeployConsensusValidatorClientKnsReq = zeus_req_types.TopologyDeployRequest{
	TopologyID: 0,
	CloudCtxNs: ValidatorCloudCtxNs,
}
View Source
var ValidatorsChart = zeus_req_types.TopologyCreateRequest{
	TopologyName:      ValidatorSkeletonBaseName,
	ChartName:         ValidatorSkeletonBaseName,
	ChartDescription:  ValidatorSkeletonBaseName,
	Version:           fmt.Sprintf("validatorBase-v.0.%d", time.Now().Unix()),
	SkeletonBaseName:  ValidatorSkeletonBaseName,
	ComponentBaseName: consensusValidatorClientComponentBaseName,
	ClusterClassName:  EphemeryValidatorClusterClassName,
	Tag:               "latest",
}
View Source
var ValidatorsChartPath = filepaths.Path{
	PackageName: "",
	DirIn:       "./ethereum/validators/infra/validators",
	DirOut:      "./ethereum/validators/infra/processed_validators",
	FnIn:        ValidatorSkeletonBaseName,
	FnOut:       "",
	Env:         "",
}

Functions

func EphemeralValidatorClientLighthouseConfig

func EphemeralValidatorClientLighthouseConfig(inf topology_workloads.TopologyBaseInfraWorkload)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL