From b49e5527bb110a5a77b149ad6ab1324490bfd1b7 Mon Sep 17 00:00:00 2001 From: Roman Date: Thu, 26 Jun 2025 08:48:17 +0800 Subject: [PATCH] fix: update README with dispersal resilience tests instructions --- README.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a01d94a..dd0752c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # nomos-e2e-tests -Nomos e2e framework used to test various implementations of the Nomos node. +Nomos E2E framework used to test various implementations of the Nomos node. ## Setup and contribute @@ -16,12 +16,36 @@ pre-commit install (optional) Overwrite default vars from src/env_vars.py via env vars or by adding a .env file pytest ``` -Set optional environment variable to search logs for errors after each tests: + +### Additional instructions for dispersal resilience tests + +1. Build prerequisites +```sh +git clone https://github.com/logos-co/nomos-security-tests.git +cd nomos-security-tests +git fetch; git switch test-dispersal-resilience + +git checkout d8bbc464420ef86337df963c64ac2f7c3fd97008 +docker build --no-cache -f testnet/Dockerfile.debug -t nomos-mod-da-d8bbc46:testnet . +# (x86_64) docker build --no-cache -f testnet/Dockerfile -t nomos-mod-da-d8bbc46:testnet . + +git checkout d19a1f3d8c80f654e6cf6139641519f16fe670ec +docker build --no-cache -f testnet/Dockerfile.debug -t nomos-executor-mod-da-d19a1f3:testnet . + +git checkout 7f54114b6c320dc32577b0e8bb85c2d543b4bd56 +docker build --no-cache -f testnet/Dockerfile.debug -t nomos-executor-mod-da-7f54114:testnet . + +git checkout 4a58376ac4956d87502b9fd72b64a756396f2a8d +docker build --no-cache -f testnet/Dockerfile.debug -t nomos-executor-mod-da-4a58376:testnet . +``` + +2. Run tests with `pytest --run-with-mod-da-node tests/dispersal_resilience/test_dispersal_resilience.py` + +### Enable node log search with environment variable: ```shell export CHECK_LOG_ERRORS=True ``` - ## License Licensed and distributed under either of