From d6cf82919911c9e7b50a8fccc5501b7c5c13bc74 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Wed, 7 Aug 2024 15:56:18 +0530 Subject: [PATCH] Update instructions to configure validator staking amount --- .../compose/docker-compose-fixturenet-laconicd.yml | 1 + stack-orchestrator/stacks/fixturenet-laconicd/README.md | 6 ++++-- .../fixturenet-laconicd/scripts/generate-stage1-genesis.sh | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml index e7279b6..794ee94 100644 --- a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml +++ b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml @@ -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 diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index d86902a..33e69e4 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -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: diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh index e85a079..d0551b9 100755 --- a/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh +++ b/stack-orchestrator/stacks/fixturenet-laconicd/scripts/generate-stage1-genesis.sh @@ -7,6 +7,7 @@ set -u # Check args if [ "$#" -ne 3 ]; then echo "Usage: $0 " + echo "Example: $0 /home/user/stage0-deployment 1000000 1000000000000" exit 1 fi