Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client config subcommand to CLI (backport #8953) #9255

Merged
merged 2 commits into from
May 17, 2021

Conversation

amaury1093
Copy link
Contributor

@amaury1093 amaury1093 commented May 3, 2021

backports: #8953

  • add client config

  • addressed reviewers comments

  • refactored,ready for review

  • fixed linter issues and addressed reviewers comments

  • Bump golangci-lint

  • fix linter warnings

  • fix some tests

Co-authored-by: Alessio Treglia alessio@tendermint.com
Co-authored-by: Amaury 1293565+amaurym@users.noreply.github.com

Description


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer
  • Review Codecov Report in the comment section below once CI passes

* add client config

* addressed reviewers comments

* refactored,ready for review

* fixed linter issues and addressed reviewers comments

* Bump golangci-lint

* fix linter warnings

* fix some tests

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Amaury <1293565+amaurym@users.noreply.github.com>
@amaury1093 amaury1093 added this to the v0.42.5 milestone May 3, 2021
@amaury1093 amaury1093 marked this pull request as ready for review May 3, 2021 15:41
@amaury1093
Copy link
Contributor Author

amaury1093 commented May 3, 2021

Hmm, linting fails on unchanged files https://github.com/cosmos/cosmos-sdk/runs/2565206545. How can I fix this?

Copy link
Contributor

@cyberbono3 cyberbono3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

types/decimal.go Outdated Show resolved Hide resolved
./build/simd init andrei --home ./test
cd test/config there is no client.toml configuration file
*/
func ReadHomeFlag(clientCtx Context, cmd *cobra.Command) Context {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would call that function SetHomeFromFlag, but it's too late.

@robert-zaremba robert-zaremba added the A:automerge Automatically merge PR once all prerequisites pass. label May 12, 2021
@aaronc aaronc merged commit be34d52 into release/v0.42.x May 17, 2021
@aaronc aaronc deleted the am/bp-8953 branch May 17, 2021 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A:automerge Automatically merge PR once all prerequisites pass.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants