Update instructions to configure validator staking amount

This commit is contained in:
Prathamesh Musale 2024-08-07 15:56:18 +05:30
parent 0a57fe8659
commit d6cf829199
3 changed files with 6 additions and 2 deletions

View File

@ -7,6 +7,7 @@ services:
TEST_AUCTION_ENABLED: ${TEST_AUCTION_ENABLED:-false}
TEST_REGISTRY_EXPIRY: ${TEST_REGISTRY_EXPIRY:-false}
ONBOARDING_ENABLED: ${ONBOARDING_ENABLED:-false}
STAKING_AMOUNT: ${STAKING_AMOUNT:-1000000000000000}
GENESIS_FILE: /var/tmp/genesis.json
volumes:
- laconicd-data:/root/.laconicd

View File

@ -96,9 +96,11 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
```bash
# Optional
# Set to true to enable adding participants functionality of the onboarding module
# (default: false)
# Set to true to enable adding participants functionality of the onboarding module (default: false)
ONBOARDING_ENABLED=
# Staking amount to use for the default validator account (default: 1000000000000000)
STAKING_AMOUNT=
```
* Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables:

View File

@ -7,6 +7,7 @@ set -u
# Check args
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <stage0-deployment-dir-absolute> <participant-allocation> <validator-allocation>"
echo "Example: $0 /home/user/stage0-deployment 1000000 1000000000000"
exit 1
fi