SigmaGmbH / swisstronik-chain

Swisstronik is an identity-based hybrid layer-1 blockchain ecosystem. It lets Web 3.0 and traditional companies build KYC, AML and DPR compliant applications with enhanced data privacy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  1. make init
  2. 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:

TL;DR You can try to use following steps:

  1. Build swisstronikd
  2. In swisstronik-chain folder, run swisstronikd 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.
  3. Now you can start your local testnet using docker-compose -f local-network.yml up

Since there is no activity, I close this issue