From 167fc7389388851f96dd00bc2ccbe5313666f640 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Fri, 25 Oct 2024 13:34:27 +0530 Subject: [PATCH] Add config for min gas price to accept for txs --- .../compose/docker-compose-fixturenet-laconicd.yml | 1 + .../stacks/fixturenet-laconicd/README.md | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml index f560354..e592a20 100644 --- a/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml +++ b/stack-orchestrator/compose/docker-compose-fixturenet-laconicd.yml @@ -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 diff --git a/stack-orchestrator/stacks/fixturenet-laconicd/README.md b/stack-orchestrator/stacks/fixturenet-laconicd/README.md index 75100ad..1d6cf60 100644 --- a/stack-orchestrator/stacks/fixturenet-laconicd/README.md +++ b/stack-orchestrator/stacks/fixturenet-laconicd/README.md @@ -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 -- 2.45.2