Skip to content

Commit

Permalink
fix: change the default value of the client output format in the conf…
Browse files Browse the repository at this point in the history
…ig (#476)

* fix: change the default output format into ""

* docs: add a comment to provide more information about the override

* docs: update CHANGELOG.md
  • Loading branch information
0Tech authored Mar 29, 2022
1 parent 7075790 commit 4c88b6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Ref: https://keepachangelog.com/en/1.0.0/

### Bug Fixes
* (x/wasm) [\#453](https://github.com/line/lbm-sdk/pull/453) modify wasm grpc query api path
* (client) [\#476](https://github.com/line/lbm-sdk/pull/476) change the default value of the client output format in the config

### Breaking Changes

Expand Down
2 changes: 1 addition & 1 deletion client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
const (
chainID = ""
keyringBackend = "os"
output = "text"
output = ""
node = "tcp://localhost:26657"
broadcastMode = "sync"
)
Expand Down
2 changes: 1 addition & 1 deletion client/config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const defaultConfigTemplate = `# This is a TOML config file.
chain-id = "{{ .ChainID }}"
# The keyring's backend, where the keys are stored (os|file|kwallet|pass|test|memory)
keyring-backend = "{{ .KeyringBackend }}"
# CLI output format (text|json)
# CLI output format (text|json), it will override the default values of both query and tx
output = "{{ .Output }}"
# <host>:<port> to Tendermint RPC interface for this chain
node = "{{ .Node }}"
Expand Down

0 comments on commit 4c88b6f

Please sign in to comment.