Skip to content

Commit 87a05cf

Browse files
authored
chore: properly structure assertoor execution config (#1372)
1 parent 3c0b20f commit 87a05cf

File tree

4 files changed

+85
-25
lines changed

4 files changed

+85
-25
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# This file is mix and match based upon the basic `assertoor-tests` playbooks:
2+
# - https://github.com/ethpandaops/assertoor-test/blob/master/assertoor-tests/stability-check.yaml
3+
# - https://github.com/ethpandaops/assertoor-test/blob/master/assertoor-tests/block-proposal-check.yaml
4+
#
5+
# For reference on each individual check see: https://github.com/ethpandaops/assertoor/wiki#supported-tasks-in-assertoor
6+
7+
id: cl-stability-check
8+
name: "Check Execution Stability"
9+
timeout: 18m
10+
tasks:
11+
- name: check_clients_are_healthy
12+
title: "Check if all clients are ready"
13+
timeout: 1m
14+
15+
- name: run_tasks_concurrent
16+
title: "Check if all EL & CL clients are synced and the tx spammer is working"
17+
timeout: 5m
18+
config:
19+
tasks:
20+
- name: check_consensus_sync_status
21+
title: "Check if CL clients are synced"
22+
- name: check_execution_sync_status
23+
title: "Check if EL clients are synced"
24+
25+
- name: run_task_matrix
26+
title: "Check block proposals from all client pairs"
27+
timeout: 6m
28+
configVars:
29+
matrixValues: "validatorPairNames"
30+
config:
31+
runConcurrent: true
32+
matrixVar: "validatorPairName"
33+
task:
34+
name: check_consensus_block_proposals
35+
title: "Wait for block proposal from ${validatorPairName}"
36+
config:
37+
minTransactionCount: 240
38+
configVars:
39+
validatorNamePattern: "validatorPairName"
40+
41+
- name: run_tasks_concurrent
42+
title: "Check chain stability (reorgs and forks)"
43+
timeout: 7m
44+
config:
45+
tasks:
46+
- name: check_consensus_reorgs
47+
title: "Check consensus reorgs"
48+
- name: check_consensus_forks
49+
title: "Check consensus forks"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
participants:
2+
- el_type: geth
3+
el_image: ethereum/client-go:v1.14.12
4+
cl_type: lighthouse
5+
cl_image: sigp/lighthouse:v5.3.0
6+
validator_count: 32
7+
- el_type: geth
8+
el_image: ethereum/client-go:v1.14.12
9+
cl_type: lighthouse
10+
cl_image: sigp/lighthouse:v5.3.0
11+
validator_count: 32
12+
- el_type: geth
13+
el_image: ethereum/client-go:v1.14.12
14+
cl_type: lambda
15+
cl_image: lambda_ethereum_consensus:latest
16+
use_separate_vc: false
17+
count: 1
18+
validator_count: 32
19+
cl_max_mem: 4096
20+
keymanager_enabled: true
21+
22+
additional_services:
23+
# - assertoor
24+
- tx_spammer
25+
- dora
26+
27+
#assertoor_params:
28+
# run_stability_check: false
29+
# run_block_proposal_check: false
30+
# tests: []
31+
# - https://raw.githubusercontent.com/lambdaclass/lambda_ethereum_consensus/refs/heads/main/.github/config/assertoor/cl-stability-check.yml
32+
33+
tx_spammer_params:
34+
tx_spammer_extra_args: ["--txcount=3", "--accounts=80"]

.github/workflows/assertoor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ jobs:
2828
- name: Setup kurtosis testnet and run assertoor tests
2929
uses: ethpandaops/kurtosis-assertoor-github-action@v1
3030
with:
31+
enclave_name: "elixir-consensus-assertoor"
3132
kurtosis_version: "1.4.2"
3233
ethereum_package_url: 'github.com/lambdaclass/ethereum-package'
3334
ethereum_package_branch: 'lecc-integration-and-assertoor'
34-
ethereum_package_args: './assertoor-config.yml'
35-
# Additional configurations as needed
35+
ethereum_package_args: './.github/config/assertoor/network-params.yml'

assertoor-config.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)