From 26365b602504e198f142aa6731aced93084582e1 Mon Sep 17 00:00:00 2001 From: Roman Date: Wed, 10 Dec 2025 13:31:44 +0800 Subject: [PATCH] fix: paths for logos-blockchain --- .github/workflows/nomos_daily.yml | 2 +- .github/workflows/test_common.yml | 2 +- README.md | 39 ++++--------------------------- src/env_vars.py | 2 +- 4 files changed, 8 insertions(+), 37 deletions(-) diff --git a/.github/workflows/nomos_daily.yml b/.github/workflows/nomos_daily.yml index 58b3c08..2313efd 100644 --- a/.github/workflows/nomos_daily.yml +++ b/.github/workflows/nomos_daily.yml @@ -1,4 +1,4 @@ -name: Nomos E2E Tests Daily +name: Logos Blockchain E2E Tests Daily on: schedule: diff --git a/.github/workflows/test_common.yml b/.github/workflows/test_common.yml index 0a97ccc..787973b 100644 --- a/.github/workflows/test_common.yml +++ b/.github/workflows/test_common.yml @@ -29,7 +29,7 @@ jobs: - run: | pip install -r requirements.txt mkdir -p kzgrs - wget https://raw.githubusercontent.com/logos-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params + wget https://raw.githubusercontent.com/logos-blockchain/logos-blockchain/refs/heads/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params - name: Run tests run: | diff --git a/README.md b/README.md index ec63024..e2823cf 100644 --- a/README.md +++ b/README.md @@ -1,52 +1,23 @@ -# nomos-e2e-tests +# logos-blockchain-e2e-tests -Nomos E2E framework used to test various implementations of the Nomos node. +Logos Blockchain E2E framework used to test various implementations of the Logos Blockchain node. ## Setup and contribute ```shell -git clone git@github.com:logos-co/nomos-e2e-tests.git -cd nomos-e2e-tests +git clone https://github.com/logos-blockchain/logos-blockchain-e2e-tests.git +cd logos-blockchain-e2e-tests python -m venv .venv source .venv/bin/activate pip install -r requirements.txt mkdir -p kzgrs -wget https://raw.githubusercontent.com/logos-co/nomos-node/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params +wget https://raw.githubusercontent.com/logos-blockchain/logos-blockchain/refs/heads/master/tests/kzgrs/kzgrs_test_params -O kzgrs/kzgrs_test_params pre-commit install (optional) Overwrite default vars from src/env_vars.py via env vars or by adding a .env file (optional) python download_nltk_resources.py # Used when CHECK_LOG_ERRORS=True pytest ``` -### 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 diff --git a/src/env_vars.py b/src/env_vars.py index 735c283..6140d97 100644 --- a/src/env_vars.py +++ b/src/env_vars.py @@ -25,7 +25,7 @@ def make_mod_da_var(node_type, version, is_image=False): # Configuration constants. Need to be upercase to appear in reports -DEFAULT_NOMOS_IMAGE = "ghcr.io/logos-co/nomos:testnet" +DEFAULT_NOMOS_IMAGE = "ghcr.io/logos-blockchain/logos-blockchain:testnet" NOMOS_IMAGE = get_env_var("NOMOS_IMAGE", DEFAULT_NOMOS_IMAGE) NOMOS_MOD_DA_IMAGE_d8bbc46 = make_mod_da_var("validator", "d8bbc46", True)