From 18633bf00f6077832bf635176d51ffec7e69afae Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 18 Aug 2025 16:35:02 +0530 Subject: [PATCH] Update step to run tests --- README.md | 13 ++++--------- test-runs/README.md | 13 ++++--------- 2 files changed, 8 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 8959cab..c77b611 100644 --- a/README.md +++ b/README.md @@ -75,10 +75,10 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan - Make sure that `ensurepip` is available for creating virtual environments: ```bash - python3 -m ensurepip --version - # Ubuntu/Debian sudo apt install python3-venv python3-dev build-essential + + python3 -m ensurepip --version ``` - Repository Access: SSH access to @@ -352,7 +352,7 @@ After starting the node, verify it's running correctly: ```bash # Check validator logs -laconic-so deployment --dir $DATA_DIRECTORY/mainnet-zenithd-deployment logs zenithd -f +laconic-so deployment --dir $DATA_DIRECTORY/mainnet-zenithd-deployment logs zenithd ``` Now we have a zenithd node running with the simulated participants data. @@ -423,15 +423,10 @@ Now we can run the comprehensive test suite to validate that the zenithd node's 2. **Run All Tests** - Navigate to the lockdrop-simulation repo directory (if not already there): - - ```bash - cd $LOCKDROP_SIMULATION_DIR - ``` - Activate `venv`: ```bash + # Navigate to the lockdrop-simulation repo directory source venv/bin/activate ``` diff --git a/test-runs/README.md b/test-runs/README.md index 57c15cf..456c786 100644 --- a/test-runs/README.md +++ b/test-runs/README.md @@ -42,10 +42,10 @@ To reproduce the results from any one of the test runs, follow these steps to ru - Make sure that `ensurepip` is available for creating virtual environments: ```bash - python3 -m ensurepip --version - # Ubuntu/Debian sudo apt install python3-venv python3-dev build-essential + + python3 -m ensurepip --version ``` - Repository Access: SSH access to @@ -320,7 +320,7 @@ After starting the node, verify it's running correctly: ```bash # Check validator logs -laconic-so deployment --dir $DATA_DIRECTORY/mainnet-zenithd-deployment logs zenithd -f +laconic-so deployment --dir $DATA_DIRECTORY/mainnet-zenithd-deployment logs zenithd ``` Now we have a zenithd node running with the simulated participants data. @@ -391,15 +391,10 @@ Now we can run the comprehensive test suite to validate that the zenithd node's 2. **Run All Tests** - Navigate to the lockdrop-simulation repo directory: - - ```bash - cd $LOCKDROP_SIMULATION_DIR - ``` - Activate `venv`: ```bash + # Navigate to the lockdrop-simulation repo directory source venv/bin/activate ```