Skip to content

testnet cmd: add config option#3559

Merged
melekes merged 6 commits intotendermint:developfrom
gregdhill:testnet-base-config
Apr 23, 2019
Merged

testnet cmd: add config option#3559
melekes merged 6 commits intotendermint:developfrom
gregdhill:testnet-base-config

Conversation

@gregdhill
Copy link
Contributor

@gregdhill gregdhill commented Apr 14, 2019

Option to explicitly provide the -config in the testnet command, closing #3160.

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

@xla xla changed the title testnet base-config flag tools: Support testnet base-config flag Apr 14, 2019
@melekes
Copy link
Contributor

melekes commented Apr 15, 2019

Why don't the ability to provide the whole config (--config)?

@gregdhill
Copy link
Contributor Author

@melekes I haven't defined the whole config due to the initial specification in the linked issue.

@melekes
Copy link
Contributor

melekes commented Apr 16, 2019

@gregdhill See #3160 (comment). Sorry about that. Shouldn't be too hard to refactor this PR though

@gregdhill gregdhill force-pushed the testnet-base-config branch 2 times, most recently from 713eece to 0176a3b Compare April 17, 2019 09:34
@codecov-io
Copy link

codecov-io commented Apr 17, 2019

Codecov Report

Merging #3559 into develop will decrease coverage by 0.04%.
The diff coverage is 20%.

@@             Coverage Diff             @@
##           develop    #3559      +/-   ##
===========================================
- Coverage    64.26%   64.22%   -0.05%     
===========================================
  Files          213      213              
  Lines        17447    17452       +5     
===========================================
- Hits         11213    11208       -5     
- Misses        5310     5323      +13     
+ Partials       924      921       -3
Impacted Files Coverage Δ
cmd/tendermint/commands/testnet.go 16.96% <20%> (+0.29%) ⬆️
privval/signer_service_endpoint.go 83.63% <0%> (-1.82%) ⬇️
consensus/reactor.go 70.36% <0%> (-1.19%) ⬇️
p2p/pex/pex_reactor.go 80.64% <0%> (+0.58%) ⬆️
blockchain/pool.go 80.26% <0%> (+0.65%) ⬆️
blockchain/reactor.go 72.42% <0%> (+0.93%) ⬆️
config/toml.go 69.04% <0%> (+3.09%) ⬆️

@gregdhill gregdhill force-pushed the testnet-base-config branch 3 times, most recently from 5afa868 to 9283cae Compare April 22, 2019 16:01
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
@gregdhill gregdhill force-pushed the testnet-base-config branch from 9283cae to 0b243fd Compare April 22, 2019 16:08
melekes and others added 3 commits April 23, 2019 09:15
Co-Authored-By: gregdhill <gregorydhill@outlook.com>
Co-Authored-By: gregdhill <gregorydhill@outlook.com>
@melekes melekes changed the title tools: Support testnet base-config flag testnet cmd: add config option Apr 23, 2019
@melekes melekes merged commit 968e955 into tendermint:develop Apr 23, 2019
@gregdhill gregdhill deleted the testnet-base-config branch April 23, 2019 13:24
@melekes melekes mentioned this pull request May 7, 2019
36 tasks
@melekes melekes mentioned this pull request May 30, 2019
44 tasks
brapse pushed a commit to brapse/tendermint that referenced this pull request Jun 5, 2019
Option to explicitly provide the -config in the testnet command, closing tendermint#3160.
iKapitonau pushed a commit to scrtlabs/tendermint that referenced this pull request Sep 30, 2024
…ort tendermint#3530) (tendermint#3559)

Running `make all` would cause an error: `make: *** No rule to make
target 'check', needed by 'all'. Stop.`

The `check` target has already removed, let's delete it<hr>This is an
automatic backport of pull request tendermint#3530 done by
[Mergify](https://mergify.com).

Co-authored-by: Halimao <1065621723@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants