Update instructions to configure authority grace period

This commit is contained in:
Prathamesh Musale 2024-08-08 11:53:34 +05:30
parent 0e0d5be2b0
commit 03ee080dfe
2 changed files with 7 additions and 3 deletions

View File

@ -11,6 +11,7 @@ services:
AUTHORITY_AUCTION_ENABLED: ${AUTHORITY_AUCTION_ENABLED} AUTHORITY_AUCTION_ENABLED: ${AUTHORITY_AUCTION_ENABLED}
AUTHORITY_AUCTION_COMMITS_DURATION: ${AUTHORITY_AUCTION_COMMITS_DURATION} AUTHORITY_AUCTION_COMMITS_DURATION: ${AUTHORITY_AUCTION_COMMITS_DURATION}
AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION} AUTHORITY_AUCTION_REVEALS_DURATION: ${AUTHORITY_AUCTION_REVEALS_DURATION}
AUTHORITY_GRACE_PERIOD: ${AUTHORITY_GRACE_PERIOD}
GENESIS_FILE: /var/tmp/genesis.json GENESIS_FILE: /var/tmp/genesis.json
volumes: volumes:
- laconicd-data:/root/.laconicd - laconicd-data:/root/.laconicd

View File

@ -103,13 +103,16 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
STAKING_AMOUNT= STAKING_AMOUNT=
# Enable authority auctions (default: false) # Enable authority auctions (default: false)
AUTHORITY_AUCTION_ENABLED= AUTHORITY_AUCTION_ENABLED=true
# Authority auctions commits duration (in secs) (default: 24hrs) # 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 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: * Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables: