Add config for min gas price to accept for txs (#17)

Part of [Create a public laconicd testnet](https://www.notion.so/Create-a-public-laconicd-testnet-896a11bdd8094eff8f1b49c0be0ca3b8)

Reviewed-on: #17
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
This commit is contained in:
Prathamesh Musale 2024-10-28 04:22:03 +00:00 committed by nabarun
parent 2db37927a0
commit 79d128d667
2 changed files with 10 additions and 1 deletions

View File

@ -15,6 +15,7 @@ services:
GENESIS_FILE: /var/tmp/genesis.json
MONIKER: ${MONIKER:-localtestnet}
CHAINID: ${CHAINID:-laconic_9000-1}
MIN_GAS_PRICE: ${MIN_GAS_PRICE:-0.001}
volumes:
- laconicd-data:/root/.laconicd
- genesis-config:/var/tmp

View File

@ -119,6 +119,9 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
# Chain ID of the network (default: "laconic_9000-1")
CHAINID=
# Minimum gas price in alnt to accept for transactions (default: "0.001")
MIN_GAS_PRICE=
```
* Inside the `laconic-console-deployment` deployment directory, open `config.env` file and set following env variables:
@ -135,8 +138,13 @@ Instructions for running a laconicd fixturenet along with registry CLI and conso
# Gas limit for txs (default: 200000)
CERC_LACONICD_GAS=
# Max fees for txs (default: 200000alnt)
# Max fees for txs (default: 200alnt)
CERC_LACONICD_FEES=
# Gas price to use for txs (default: 0.001alnt)
# Use for auto fees calculation, gas and fees not required to be set in that case
# Reference: https://git.vdb.to/cerc-io/laconic-registry-cli#gas-and-fees
CERC_LACONICD_GASPRICE=
```
## Start the deployment