-
Notifications
You must be signed in to change notification settings - Fork 1
/
ethereum.star
38 lines (35 loc) · 1.23 KB
/
ethereum.star
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
ethereum_package = import_module(
"github.com/kurtosis-tech/ethereum-package/[email protected]"
)
GETH_IMAGE = "ethereum/client-go:v1.14.0"
LIGHTHOUSE_IMAGE = "sigp/lighthouse:v5.1.3"
def run(plan, args):
ethereum_package.run(
plan,
{
"participants": [
{
# Execution layer (EL)
"el_type": "geth",
"el_image": GETH_IMAGE,
# Consensus layer (CL)
"cl_type": "lighthouse",
"cl_image": LIGHTHOUSE_IMAGE,
"use_separate_vc": True,
# Validator parameters
"vc_type": "lighthouse",
"vc_image": LIGHTHOUSE_IMAGE,
# Participant parameters
"count": 2,
}
],
"network_params": {
# The ethereum package requires the network id to be a string.
"network_id": str(args["l1_chain_id"]),
"preregistered_validator_keys_mnemonic": args[
"l1_preallocated_mnemonic"
],
},
"additional_services": args["l1_additional_services"],
},
)