Skip to content

Commit

Permalink
refactor!: participant_network & rename participant fields. (#508)
Browse files Browse the repository at this point in the history
# Important!
There are many participant fields that have been renamed to be more
consistent with the rest of the package. The following fields have been
renamed:
### EL Flags
```
el_client_type -> el_type
el_client_image -> el_image
el_client_log_level -> el_log_level
el_client_volume_size -> el_volume_size
```
### CL Flags
```
cl_client_type -> cl_type
cl_client_image -> cl_image
cl_client_volume_size -> cl_volume_size
cl_client_log_level -> cl_log_level
beacon_extra_params -> cl_extra_params
beacon_extra_labels -> cl_extra_labels
bn_min_cpu -> cl_min_cpu
bn_max_cpu -> cl_max_cpu
bn_min_mem -> cl_min_mem
bn_max_mem -> cl_max_mem
use_separate_validator_client -> use_separate_vc
```
### Validator flags
```
validator_client_type -> vc_type
validator_tolerations -> vc_tolerations
validator_client_image -> vc_image
validator_extra_params -> vc_extra_params
validator_extra_labels -> vc_extra_labels
v_min_cpu -> vc_min_cpu
v_max_cpu -> vc_max_cpu
v_min_mem -> vc_min_mem
v_max_mem -> vc_max_mem
```
### Global flags
```
global_client_log_level -> global_log_level
```


Once this PR is merged, the old names will no longer work, and you will
have to bulk rename all your yaml files.

A rename.sh bash script is added, which can be used to do bulk `find and
replace` operations.
```bash
rename.sh yourFile.yaml
```

---------

Co-authored-by: Gyanendra Mishra <anomaly.the@gmail.com>
  • Loading branch information
barnabasbusa and h4ck3rk3y authored Mar 8, 2024
1 parent da55be8 commit fab341b
Show file tree
Hide file tree
Showing 97 changed files with 2,469 additions and 2,108 deletions.
8 changes: 4 additions & 4 deletions .github/tests/assertoor.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
participants:
- el_client_type: geth
cl_client_type: lighthouse
- el_type: geth
cl_type: lighthouse
count: 1
- el_client_type: geth
cl_client_type: lodestar
- el_type: geth
cl_type: lodestar
count: 1
additional_services:
- assertoor
24 changes: 12 additions & 12 deletions .github/tests/besu-all.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: geth
cl_client_type: teku
- el_client_type: besu
cl_client_type: prysm
- el_client_type: besu
cl_client_type: nimbus
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: besu
cl_client_type: lodestar
- el_type: geth
cl_type: teku
- el_type: geth
cl_type: teku
- el_type: besu
cl_type: prysm
- el_type: besu
cl_type: nimbus
- el_type: besu
cl_type: lighthouse
- el_type: besu
cl_type: lodestar
additional_services: []
12 changes: 6 additions & 6 deletions .github/tests/blobber.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
participants:
- el_client_type: geth
el_client_image: ethpandaops/geth:master
cl_client_type: lighthouse
- el_type: geth
el_image: ethpandaops/geth:master
cl_type: lighthouse
blobber_enabled: true
blobber_extra_params:
- --proposal-action-frequency=1
- "--proposal-action={\"name\": \"blob_gossip_delay\", \"delay_milliseconds\": 1500}"
count: 1
- el_client_type: geth
el_client_image: ethpandaops/geth:master
cl_client_type: lodestar
- el_type: geth
el_image: ethpandaops/geth:master
cl_type: lodestar
count: 1
network_params:
deneb_fork_epoch: 1
Expand Down
24 changes: 12 additions & 12 deletions .github/tests/dencun-devnet-12.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: teku
- el_type: geth
cl_type: teku
- el_type: nethermind
cl_type: prysm
- el_type: erigon
cl_type: nimbus
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: teku
network_params:
network: "dencun-devnet-12"
additional_services: []
24 changes: 12 additions & 12 deletions .github/tests/dencun-genesis.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: teku
- el_type: geth
cl_type: teku
- el_type: nethermind
cl_type: prysm
- el_type: erigon
cl_type: nimbus
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: teku
network_params:
deneb_fork_epoch: 0
additional_services: []
24 changes: 12 additions & 12 deletions .github/tests/disable-peer-scoring.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: erigon
cl_client_type: nimbus
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: ethereumjs
cl_client_type: teku
- el_type: geth
cl_type: teku
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: erigon
cl_type: nimbus
- el_type: nethermind
cl_type: prysm
- el_type: ethereumjs
cl_type: teku
additional_services: []
disable_peer_scoring: true
24 changes: 12 additions & 12 deletions .github/tests/ephemery.yaml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: teku
- el_type: geth
cl_type: teku
- el_type: nethermind
cl_type: prysm
- el_type: erigon
cl_type: nimbus
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: teku
network_params:
network: "ephemery"
additional_services: []
20 changes: 10 additions & 10 deletions .github/tests/erigon-all.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
participants:
- el_client_type: erigon
cl_client_type: teku
- el_client_type: erigon
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
- el_client_type: erigon
cl_client_type: lighthouse
- el_client_type: erigon
cl_client_type: lodestar
- el_type: erigon
cl_type: teku
- el_type: erigon
cl_type: prysm
- el_type: erigon
cl_type: nimbus
- el_type: erigon
cl_type: lighthouse
- el_type: erigon
cl_type: lodestar
additional_services: []
20 changes: 10 additions & 10 deletions .github/tests/ethereumjs-all.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
participants:
- el_client_type: ethereumjs
cl_client_type: teku
- el_client_type: ethereumjs
cl_client_type: prysm
- el_client_type: ethereumjs
cl_client_type: nimbus
- el_client_type: ethereumjs
cl_client_type: lighthouse
- el_client_type: ethereumjs
cl_client_type: lodestar
- el_type: ethereumjs
cl_type: teku
- el_type: ethereumjs
cl_type: prysm
- el_type: ethereumjs
cl_type: nimbus
- el_type: ethereumjs
cl_type: lighthouse
- el_type: ethereumjs
cl_type: lodestar
additional_services: []
20 changes: 10 additions & 10 deletions .github/tests/geth-all.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
participants:
- el_client_type: geth
cl_client_type: teku
- el_client_type: geth
cl_client_type: prysm
- el_client_type: geth
cl_client_type: nimbus
- el_client_type: geth
cl_client_type: lighthouse
- el_client_type: geth
cl_client_type: lodestar
- el_type: geth
cl_type: teku
- el_type: geth
cl_type: prysm
- el_type: geth
cl_type: nimbus
- el_type: geth
cl_type: lighthouse
- el_type: geth
cl_type: lodestar
additional_services: []
16 changes: 8 additions & 8 deletions .github/tests/holesky-shadowfork-verkle.yaml_norun
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
participants:
- el_client_type: geth
el_client_image: ethpandaops/geth:transition-post-genesis-04b0304
cl_client_type: lighthouse
cl_client_image: ethpandaops/lighthouse:verkle-trees-capella-2ffb8a9
- el_client_type: geth
el_client_image: ethpandaops/geth:transition-post-genesis-04b0304
cl_client_type: lodestar
cl_client_image: ethpandaops/lodestar:g11tech-verge-815364b
- el_type: geth
el_image: ethpandaops/geth:transition-post-genesis-04b0304
cl_type: lighthouse
cl_image: ethpandaops/lighthouse:verkle-trees-capella-2ffb8a9
- el_type: geth
el_image: ethpandaops/geth:transition-post-genesis-04b0304
cl_type: lodestar
cl_image: ethpandaops/lodestar:g11tech-verge-815364b
network_params:
electra_fork_epoch: 1
network: holesky-shadowfork-verkle
Expand Down
8 changes: 4 additions & 4 deletions .github/tests/holesky-shadowfork.yaml_norun
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
participants:
- el_client_type: geth
el_client_image: ethereum/client-go:v1.13.14
cl_client_type: teku
cl_client_image: consensys/teku:24.2.0
- el_type: geth
el_image: ethereum/client-go:v1.13.14
cl_type: teku
cl_image: consensys/teku:24.2.0
network_params:
dencun_fork_epoch: 0
network: holesky-shadowfork
Expand Down
24 changes: 12 additions & 12 deletions .github/tests/lighthouse-all.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
participants:
- el_client_type: geth
cl_client_type: lighthouse
- el_client_type: nethermind
cl_client_type: lighthouse
- el_client_type: erigon
cl_client_type: lighthouse
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lighthouse
- el_client_type: ethereumjs
cl_client_type: lighthouse
- el_type: geth
cl_type: lighthouse
- el_type: nethermind
cl_type: lighthouse
- el_type: erigon
cl_type: lighthouse
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lighthouse
- el_type: ethereumjs
cl_type: lighthouse
additional_services: []
24 changes: 12 additions & 12 deletions .github/tests/lodestar-all.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
participants:
- el_client_type: geth
cl_client_type: lodestar
- el_client_type: nethermind
cl_client_type: lodestar
- el_client_type: erigon
cl_client_type: lodestar
- el_client_type: besu
cl_client_type: lodestar
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: lodestar
- el_type: geth
cl_type: lodestar
- el_type: nethermind
cl_type: lodestar
- el_type: erigon
cl_type: lodestar
- el_type: besu
cl_type: lodestar
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: lodestar
additional_services: []
28 changes: 14 additions & 14 deletions .github/tests/mix-persistence-k8s.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
participants:
- el_client_type: geth
cl_client_type: teku
use_separate_validator_client: true
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
use_separate_validator_client: true
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: nimbus
- el_type: geth
cl_type: teku
use_separate_vc: true
- el_type: nethermind
cl_type: prysm
- el_type: erigon
cl_type: nimbus
use_separate_vc: true
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: nimbus
additional_services: []
persistent: true
28 changes: 14 additions & 14 deletions .github/tests/mix-persistence.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
participants:
- el_client_type: geth
cl_client_type: teku
use_separate_validator_client: true
- el_client_type: nethermind
cl_client_type: prysm
- el_client_type: erigon
cl_client_type: nimbus
use_separate_validator_client: true
- el_client_type: besu
cl_client_type: lighthouse
- el_client_type: reth
cl_client_type: lodestar
- el_client_type: ethereumjs
cl_client_type: nimbus
- el_type: geth
cl_type: teku
use_separate_vc: true
- el_type: nethermind
cl_type: prysm
- el_type: erigon
cl_type: nimbus
use_separate_vc: true
- el_type: besu
cl_type: lighthouse
- el_type: reth
cl_type: lodestar
- el_type: ethereumjs
cl_type: nimbus
additional_services: []
persistent: true
Loading

0 comments on commit fab341b

Please sign in to comment.