From 03ee080dfe8973aca4eff47f4d57adfa84926acb Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Thu, 8 Aug 2024 11:53:34 +0530 Subject: [PATCH] Update instructions to configure authority grace period --- .../compose/docker-compose-fixturenet-laconicd.yml | 1 + stack-orchestrator/stacks/fixturenet-laconicd/README.md | 9 ++++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml index b890e02..2834ca8 100644 --- a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml +++ b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml @@ -11,6 +11,7 @@ services: AUTHORITY_AUCTION_ENABLED: ${AUTHORITY_AUCTION_ENABLED} AUTHORITY_AUCTION_COMMITS_DURATION: ${AUTHORITY_AUCTION_COMMITS_DURATION} AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION} + AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD} 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 d5b75d8..e7007ed 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -103,13 +103,16 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso STAKING_AMOUNT= # Enable authority auctions (default: false) - AUTHORITY_AUCTION_ENABLED= + AUTHORITY_AUCTION_ENABLED=true # Authority auctions commits duration (in secs) (default: 24hrs) - AUTHORITY_AUCTION_COMMITS_DURATION= + AUTHORITY_AUCTION_COMMITS_DURATION=3600 # Authority auctions reveals duration (in secs) (default: 24hrs) - AUTHORITY_AUCTION_REVEALS_DURATION= + AUTHORITY_AUCTION_REVEALS_DURATION=3600 + + # Authority grace period (set bond to authority within this) (in secs) (default: 2 * 24hrs) + AUTHORITY_GRACE_PERIOD=7200 ``` * Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables: