Skip to content

Commit

Permalink
feat: add grandine (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
barnabasbusa committed Mar 19, 2024
1 parent 0615cd1 commit 3ac4d2a
Show file tree
Hide file tree
Showing 7 changed files with 460 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/tests/grandine-all.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
participants:
- el_type: geth
cl_type: grandine
- el_type: nethermind
cl_type: grandine
- el_type: erigon
cl_type: grandine
- el_type: besu
cl_type: grandine
- el_type: reth
cl_type: grandine
- el_type: ethereumjs
cl_type: grandine
additional_services: []
4 changes: 3 additions & 1 deletion .github/tests/mix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ participants:
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
- el_type: nimbus
cl_type: teku
- el_type: ethereumjs
cl_type: grandine
additional_services: []
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ participants:
# CL(Consensus Layer) Specific flags
# The type of CL client that should be started
# Valid values are nimbus, lighthouse, lodestar, teku, and prysm
# Valid values are nimbus, lighthouse, lodestar, teku, prysm, and grandine
cl_type: lighthouse
# The Docker image that should be used for the CL client; leave blank to use the default for the client type
Expand Down
9 changes: 9 additions & 0 deletions src/cl/cl_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ lodestar = import_module("./lodestar/lodestar_launcher.star")
nimbus = import_module("./nimbus/nimbus_launcher.star")
prysm = import_module("./prysm/prysm_launcher.star")
teku = import_module("./teku/teku_launcher.star")
grandine = import_module("./grandine/grandine_launcher.star")

constants = import_module("../package_io/constants.star")
input_parser = import_module("../package_io/input_parser.star")
Expand Down Expand Up @@ -76,6 +77,14 @@ def launch(
),
"launch_method": teku.launch,
},
constants.CL_TYPE.grandine: {
"launcher": grandine.new_grandine_launcher(
el_cl_data,
jwt_file,
network_params.network,
),
"launch_method": grandine.launch,
},
}

all_snooper_engine_contexts = []
Expand Down
Loading

0 comments on commit 3ac4d2a

Please sign in to comment.