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

Merged
nabarun merged 1 commits from pm-configure-gasprice into main 2024-10-28 04:22:04 +00:00
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