Sharad Chand
8441b3715a
migrate away from deprecated ioutil APIs ( #7175 )
Co-authored-by: Callum Waters <cmwaters19@gmail.com>
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
3 years ago
Anton Kaliaev
b7b721c484
change use of errors.Wrap to fmt.Errorf with %w verb
Closes #4603
Commands used (VIM):
```
:args `rg -l errors.Wrap`
:argdo normal @q | update
```
where q is a macros rewriting the `errors.Wrap` to `fmt.Errorf`.
5 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
6 years ago
Zach Ramsay
d02c5d1e30
detele everything
6 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
6 years ago
Ethan Buchman
690d6c6070
cli: WriteDemoConfig -> WriteConfigVals
7 years ago
Anton Kaliaev
541780c6df
uncomment tests
7 years ago
Zach Ramsay
f39b575503
remove deprecated --root flag
7 years ago
Anton Kaliaev
d8dd497069
fix metalinter errors
7 years ago
Ethan Frey
3400cee845
Handle --two-words as TMTWO_WORDS env var
8 years ago
Ethan Frey
0ecb38c6da
Return exit code on error, disable in tests
8 years ago
rigel rozanski
33d0dd0bfc
add stderr to tests
8 years ago
Ethan Frey
8af1c70a8b
Renamed --debug to --trace, used for light-client and basecoin
8 years ago
Ethan Frey
2f02ed18e9
One more helper function for cli tests...
8 years ago
Ethan Frey
d0132b0fff
Moved helper functions into non-test code for reuse elsewhere
8 years ago
Ethan Frey
ee45dbdc8b
Test how unmarshall plays with flags/env/config/default struct
8 years ago
Ethan Frey
8efeeb5f38
Add --debug flag to return full stack trace on error
8 years ago
Ethan Frey
ef3b9610a1
Fixed up the --home flag, ebuchman check this out
8 years ago
Ethan Frey
5637a78854
Test setting config file as root
8 years ago
Ethan Frey
62427adbec
First basic test case on setup functionality
8 years ago