Update zenith stack version (#7)
Part of `Milestone 4 (Staking & Delegation, Lockdrop)` Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #7 Co-authored-by: shreerang <shreerang@noreply.git.vdb.to> Co-committed-by: shreerang <shreerang@noreply.git.vdb.to>
This commit is contained in:
parent
a7d83e084b
commit
4461ee1ff0
@ -93,7 +93,7 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan
|
||||
- Set zenith-stack version to use:
|
||||
|
||||
```bash
|
||||
ZENITH_STACK_VERSION=v0.2.11
|
||||
ZENITH_STACK_VERSION=v0.2.13
|
||||
```
|
||||
|
||||
Check [releases](https://git.vdb.to/LaconicNetwork/zenith-stack/releases) page for version history.
|
||||
@ -106,7 +106,7 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan
|
||||
git clone git@git.vdb.to:LaconicNetwork/lockdrop-simulation.git
|
||||
|
||||
# Set repo directory path for further usage
|
||||
LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation
|
||||
export LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation
|
||||
```
|
||||
|
||||
- **zenith-stack repository**
|
||||
@ -117,7 +117,7 @@ The lockdrop simulation validates the Zenith Network's token distribution mechan
|
||||
git clone git@git.vdb.to:LaconicNetwork/zenith-stack.git
|
||||
|
||||
# Set repo directory path for further usage
|
||||
ZENITH_STACK_DIR=$(pwd)/zenith-stack
|
||||
export ZENITH_STACK_DIR=$(pwd)/zenith-stack
|
||||
|
||||
# Checkout to the required version
|
||||
cd $ZENITH_STACK_DIR
|
||||
@ -253,7 +253,7 @@ First, create the data directory required for simulation (must be same as the pa
|
||||
# Make sure you are in ansible directory
|
||||
cd $ZENITH_STACK_DIR/ansible
|
||||
|
||||
DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/stage1.yml | awk '{print $2; exit}')
|
||||
export DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/tge.yml | awk '{print $2; exit}')
|
||||
mkdir -p $DATA_DIRECTORY
|
||||
```
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ To reproduce the results from any one of the test runs, follow these steps to ru
|
||||
- Set zenith-stack version to use:
|
||||
|
||||
```bash
|
||||
ZENITH_STACK_VERSION=v0.2.11
|
||||
ZENITH_STACK_VERSION=v0.2.13
|
||||
```
|
||||
|
||||
Check [releases](https://git.vdb.to/LaconicNetwork/zenith-stack/releases) page for version history.
|
||||
@ -73,7 +73,7 @@ To reproduce the results from any one of the test runs, follow these steps to ru
|
||||
git clone git@git.vdb.to:LaconicNetwork/lockdrop-simulation.git
|
||||
|
||||
# Set repo directory path for further usage
|
||||
LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation
|
||||
export LOCKDROP_SIMULATION_DIR=$(pwd)/lockdrop-simulation
|
||||
```
|
||||
|
||||
- **zenith-stack repository**
|
||||
@ -84,7 +84,7 @@ To reproduce the results from any one of the test runs, follow these steps to ru
|
||||
git clone git@git.vdb.to:LaconicNetwork/zenith-stack.git
|
||||
|
||||
# Set repo directory path for further usage
|
||||
ZENITH_STACK_DIR=$(pwd)/zenith-stack
|
||||
export ZENITH_STACK_DIR=$(pwd)/zenith-stack
|
||||
|
||||
# Checkout to the required version
|
||||
cd $ZENITH_STACK_DIR
|
||||
@ -182,12 +182,6 @@ This interactive tool will guide you through configuring all the necessary varia
|
||||
Example: https://eth.rpc.laconic.com/<API_KEY>
|
||||
```
|
||||
|
||||
- **Number of participants**: Total number of mock participants to generate for simulation (default: 400).
|
||||
|
||||
- **Galaxy count**: Number of galaxies to allocate among participants - determines validator count in real scenario (default: 200).
|
||||
|
||||
- **Star count**: Number of stars to allocate among participants - each participant needs at least 1 (default: 2000).
|
||||
|
||||
**Bootstrap Validator Configuration**
|
||||
|
||||
- **Bootstrap validator data directory**: Absolute path to the parent directory where the bootstrap validator deployment will be created (**use the same parent directory as set for Genesis Generator**).
|
||||
@ -217,7 +211,7 @@ First, create the data directory required for simulation (must be same as the pa
|
||||
# Make sure you are in ansible directory
|
||||
cd $ZENITH_STACK_DIR/ansible
|
||||
|
||||
DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/stage1.yml | awk '{print $2; exit}')
|
||||
export DATA_DIRECTORY=$(grep 'data_directory:' inventories/development/group_vars/tge.yml | awk '{print $2; exit}')
|
||||
mkdir -p $DATA_DIRECTORY
|
||||
```
|
||||
|
||||
@ -228,6 +222,14 @@ Now, run required system setup (installs docker and laconic-so):
|
||||
zenith-ansible -i ./inventories/development/hosts.yml ./stage1-site.yml -e "mode=system-setup" -K --skip-tags onboarding
|
||||
```
|
||||
|
||||
If your machine did not have Docker installed before, the above command will install it. On Ubuntu, you will need to activate the `docker` group for your current shell:
|
||||
|
||||
```bash
|
||||
newgrp docker
|
||||
```
|
||||
|
||||
This is a one time operation required to be performed after installing docker.
|
||||
|
||||
Setup the deployment directories and pull required docker images to generate base genesis file along with other artifacts:
|
||||
|
||||
```bash
|
||||
|
||||
Loading…
Reference in New Issue
Block a user