Skip to content

Commit

Permalink
Merge pull request #1601 from mesg-foundation/feature/default-config
Browse files Browse the repository at this point in the history
Change default config
  • Loading branch information
antho1404 authored Jan 14, 2020
2 parents 9b85b26 + a3774f1 commit b0f6b94
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,15 +87,15 @@ func defaultConfig() (*Config, error) {
c.Tendermint.Config.RPC.ListenAddress = "tcp://0.0.0.0:26657"
c.Tendermint.Config.P2P.AddrBookStrict = false
c.Tendermint.Config.P2P.AllowDuplicateIP = true
c.Tendermint.Config.Consensus.TimeoutCommit = 1 * time.Second
c.Tendermint.Config.Consensus.TimeoutCommit = 5 * time.Second
c.Tendermint.Config.Instrumentation.Prometheus = true
c.Tendermint.Config.Instrumentation.PrometheusListenAddr = "0.0.0.0:26660"

c.Cosmos.RelativePath = "cosmos"
c.Cosmos.MinGasPrices = "1.0amesg"
c.Cosmos.MinGasPrices = "1.0atto"

c.DevGenesis.ChainID = "mesg-dev-chain"
c.DevGenesis.InitialBalances = "1000000000000000000000000amesg" // 1 000 000 * 10^18
c.DevGenesis.InitialBalances = "1000000000000000000000000atto" // 1 000 000 * 10^18

c.Account.Name = "engine"
c.Account.Password = "pass"
Expand Down
4 changes: 4 additions & 0 deletions e2e/testdata/e2e.config.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
account:
mnemonic: glimpse upon body vast economy give taxi yellow rabbit come click ranch chronic hammer sport near rotate charge lumber chicken cloud base thing forum
tendermint:
config:
consensus:
timeoutcommit: 1s

0 comments on commit b0f6b94

Please sign in to comment.