-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Support participants_matrix (#620)
This PR adds a new config argument called `participants_matrix`, which allows the user to easily spin up a matrix of EL/CL combos. The `el` and `cl` keys within this argument can be fully fledged normal `participants`, so they support the exact same arguments. For example: # Example 1 ``` participants_matrix: el: - el_type: geth - el_type: besu - el_type: reth cl: - cl_type: nimbus ``` This config would create the following participants: - `nimbus-geth` - `nimbus-besu` - `nimbus-reth` # Example 2 ``` participants_matrix: el: - el_type: geth - el_type: besu - el_type: reth cl: - cl_type: nimbus participants: - el_type: nethermind cl_type: lighthouse ``` This config would create the following participants: - `nimbus-geth` - `nimbus-besu` - `nimbus-reth` - `lighthouse-nethermind` # Example 3 ``` participants_matrix: el: - el_type: geth - el_type: besu - el_type: reth cl: - cl_type: nimbus count: 5 ``` This config would create the following participants: - `5x nimbus-geth` - `5x nimbus-besu` - `5x nimbus-reth` --------- Co-authored-by: Barnabas Busa <busa.barnabas@gmail.com>
- Loading branch information
1 parent
22f1498
commit 3a57467
Showing
9 changed files
with
86 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
participants: | ||
- count: 1 | ||
additional_services: | ||
- apache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
participants: | ||
- el_type: geth | ||
cl_type: lighthouse | ||
network_params: | ||
seconds_per_slot: 3 | ||
additional_services: [] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
participants: | ||
- el_type: geth | ||
cl_type: lighthouse | ||
mev_type: flashbots | ||
additional_services: | ||
- tx_spammer | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
participants_matrix: | ||
el: | ||
- el_type: besu | ||
cl: | ||
- cl_type: prysm | ||
vc: | ||
- vc_type: nimbus | ||
participants: | ||
- count: 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters