Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add assertoor tests to CI #6192

Open
wants to merge 16 commits into
base: unstable
Choose a base branch
from
20 changes: 14 additions & 6 deletions .github/workflows/local-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:

- name: Install dependencies
run: |
sudo add-apt-repository ppa:rmescandon/yq
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install -y kurtosis-cli yq
sudo snap install yq
sudo apt install -y kurtosis-cli
kurtosis analytics disable

- name: Download Docker image artifact
Expand Down Expand Up @@ -69,6 +69,14 @@ jobs:
run: ./stop_local_testnet.sh local-blinded
working-directory: scripts/local_testnet

- name: Start a local testnet and run assertoor tests
uses: ethpandaops/kurtosis-assertoor-github-action@v1
with:
ethereum_package_args: scripts/tests/assertoor_network_params.yaml
path: |
scripts/local_testnet/logs
retention-days: 3

- name: Upload logs artifact
uses: actions/upload-artifact@v4
with:
Expand All @@ -85,10 +93,10 @@ jobs:

- name: Install dependencies
run: |
sudo add-apt-repository ppa:rmescandon/yq
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install -y kurtosis-cli yq
sudo snap install yq
sudo apt install -y kurtosis-cli
kurtosis analytics disable

- name: Download Docker image artifact
Expand Down Expand Up @@ -121,10 +129,10 @@ jobs:

- name: Install dependencies
run: |
sudo add-apt-repository ppa:rmescandon/yq
echo "deb [trusted=yes] https://apt.fury.io/kurtosis-tech/ /" | sudo tee /etc/apt/sources.list.d/kurtosis.list
sudo apt update
sudo apt install -y kurtosis-cli yq
sudo snap install yq
sudo apt install -y kurtosis-cli
kurtosis analytics disable

- name: Download Docker image artifact
Expand Down
23 changes: 23 additions & 0 deletions scripts/tests/assertoor_network_params.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Full configuration reference [here](https://github.com/ethpandaops/ethereum-package?tab=readme-ov-file#configuration).
participants:
- el_type: geth
el_image: ethereum/client-go:latest
cl_type: lighthouse
cl_image: lighthouse:local
cl_extra_params:
- --target-peers=3
count: 4
network_params:
deneb_fork_epoch: 0
seconds_per_slot: 6
num_validator_keys_per_node: 20
global_log_level: debug
snooper_enabled: false
additional_services:
- assertoor
assertoor_params:
run_stability_check: true
run_block_proposal_check: true
run_blob_transaction_test: true
tests:
- https://raw.githubusercontent.com/ethpandaops/assertoor-test/master/assertoor-tests/big-calldata-tx-test.yaml
Loading