Err environment configuration of key "gas price" in app.toml or environment
warifp opened this issue · comments
1. Bug/Vulnerability Description
Error while doing a local development test on a docker image.
ERR invalid server config error="set min gas price in app.toml or flag or env variable: error in app.toml
2. Hardware and Software Specifications
- OS Name & version : Ubuntu 20.04
- CPU Name & Brand : linux/amd64
- Go version : 1.20.5
- Rust version (x)
- SGX version (optional)
- Docker environment
3. Steps to Reproduce
- make init
- make build-docker-local
And I tried to test on the local version for up docker with docker-compose -f local-network.yml up
4. Impact Analysis
If this were applied to the developer, the developer would be confused because the documentation is incomplete in the README.md Repository.
Better to write complete with git-book or something else.
Very important because it supports the development of public tests and audits.
5. Code Fix Submission
I've tried adding the app.toml file in config, front page, and app. but the result is nil
6. Choose the Right Label
Documentation, Developer, Gas Price, app.toml, configuration
7. Additional Context
node0 | 3:59AM ERR invalid server config error="set min gas price in app.toml or flag or env variable: error in app.toml"
node0 | Error: set min gas price in app.toml or flag or env variable: error in app.toml
Thank you for contributing to the improvement of our project!👨💻👩💻
Swisstronik internal use only
- Not duplicate issue
- Appropriate labels applied
For Docker environment
is optional or? this not found on configuration sample
Hello, thanks for submitting your issue. As written in README To build a Docker image, that contains binary for local Swisstronik node
, using those steps you will build docker image which contains binary swisstronikd
. In order to use it, you should configure your node inside docker container or use commands described below in README.
Please take a look at following guides:
- How to install
swisstronikd
locally - How to setup local test node
- How to run local testnet with multiple validators, also it is described here in more details
- If you want to setup node which can participate in testnet and broadcast transactions to the network, use can use this guide
TL;DR You can try to use following steps:
- Build
swisstronikd
- In
swisstronik-chain
folder, runswisstronikd testnet init-files --starting-ip-address 192.167.10.1 --chain-id swisstronik_1291-1
command. It will generate you a.testnet
folder with 4 preconfigured nodes. - Now you can start your local testnet using
docker-compose -f local-network.yml up
Since there is no activity, I close this issue