Federico Kunze
308c879b11
custom testnet cmd signing algorithms ( #7012 )
...
* custom testnet cmd signing algorithms
* update testutil network Config
* keyring options
* fix test
* typo
2020-08-12 08:34:10 +00:00
Alexander Bezobchuk
9ae17669d6
Tx Height Timeout ( #6089 )
...
* Implement TxHeightTimeoutDecorator
* Update error message
* rename type
* set height timeout
* update tests
* update *SignDoc)
* rename
* remove dup
* fix build
* cli updates
* rest updates
* cl++
* Update x/auth/ante/basic.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* Update x/auth/ante/basic.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* Update x/auth/ante/basic.go
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
* Update x/auth/ante/basic.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* rename
* rename
* remove TimeoutHeight from SignDoc
* updates
* fix tests
* update IBC cmd flags
* use omitempty
* update godoc
* add test case to TestStdSignBytes
Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-08-07 23:32:22 +00:00
Anil Kumar Kammari
e906c012a0
add page flag for CLI queries ( #6824 )
...
* add page flag for CLI queries
* fix review suggestions
* Fix `page` flag default value
* fix offset calc
* Apply suggestions from code review
Co-authored-by: Aaron Craelius <aaron@regen.network>
* fix review suggestions
* refactor
* fix returning error
Co-authored-by: SaReN <sahithnarahari@gmail.com>
Co-authored-by: Aaron Craelius <aaron@regen.network>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-24 08:17:11 +00:00
Marko
e6a56226a8
context: remove verifier & trust node ( #6805 )
...
* remove verifier
* more removal of trustnode flag
* add todo
* fix lint
* remove file
* remove viper and add link to issue
* remve mention of trustnode
2020-07-23 06:44:18 +00:00
Alexander Bezobchuk
61d69a978f
Merge PR #6806 : Docs & Cleanup
2020-07-21 11:28:43 -04:00
atheeshp
3123d07ad9
Update x/{mint,slashing,evidence} cli to use gRPC query client ( #6704 )
...
* changes cli to use gRPC in mint, slashing
* added command for signing infos
* gRPC query client migration of evidence
* review changes
* added unpack any
* fixed build error
* fixed failing tests issue
* added read flags
* added pagination flags
* updated docs
* fixed tests issue
* failing tests
* fixed tests
* review changes
* review changes
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-07-19 06:16:57 -04:00
atheeshp
c37f683cc1
x/staking: cli migration to use gRPC query client ( #6728 )
...
* migrated to use gRPC query client
* removed codecs usage
* review change
* added read command flags
* added pagination flags
* fixed limit issue
* added helper function for default pagination flags
* review changes
* review change
* review changes
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-07-17 15:23:42 +00:00
billy rennekamp
a6ac7f496e
Tiny change to flag help description for gas-prices ( #6701 )
...
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-07-13 08:36:34 -04:00
Alexander Bezobchuk
e7554bb3b0
Fix Gas Flag Usage + CLI Flag APIs ( #6685 )
...
* Use new APIs
* fix usage
* fix usage of gas flag
* tests: TestParseGasSetting
2020-07-11 08:13:46 +00:00
Alexander Bezobchuk
e1476c1f9d
x/distribution: CLI & Module Tweaks ( #6684 )
...
* init commit
* cleanup methods
* fix
2020-07-10 19:59:26 +00:00
Alexander Bezobchuk
400c3cb08e
Merge PR #6652 : x/distribution: In-Process Testing & CLI Refactor
2020-07-10 10:45:46 -04:00
Alessio Treglia
57ac28c814
client/flags: remove NewCompletionCmd() ( #6632 )
...
The functionality was adopted tendermint upstream, see
* https://github.com/tendermint/tendermint/pull/4665
2020-07-07 19:29:30 +02:00
Alexander Bezobchuk
d5049413ef
Merge PR #6525 : x/bank: Refactor CLI & Tests
2020-06-30 16:59:21 -04:00
Aaron Craelius
c13809062a
Update TxBuilder to use SignatureV2 ( #6443 )
...
* Update TxBuilder to use SignatureV2
* Fix unit tests
* Lint
* lint
* Cleanup
* Address review feedback
* Add Sign tests
* Add more cases for sign tests
* Fix lint
* Fix gofmt
* Deprecate StdTx
* Undeprecate StdTx, but leave a comment to use the protobuf Tx
* Address review comment
Co-authored-by: anilCSE <anil@vitwit.com>
2020-06-16 19:57:37 +00:00
Alexander Bezobchuk
6a05b83069
Merge PR #6426 : Migrate API Server
2020-06-15 13:39:09 -04:00
Alexander Bezobchuk
8bd8d107a3
flags: fix "max-body-bytes" flag description ( #6180 )
2020-05-10 15:21:24 -04:00
Marko
bef3689245
linter: enable nolintlint ( #6162 )
...
* nolintlint enable
* remove space
* fix tests
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-05-08 08:46:12 +00:00
Alexander Bezobchuk
fe9fe87693
REST: Add 'max-body-bytes' Flag ( #6167 )
...
* Add max-body-bytes flag for REST service
* Add changelog entries
* Change types
2020-05-07 17:49:08 +00:00
Alessio Treglia
2414e5bdd4
x/auth: turn sign --validate-sigantures into a standalone command ( #6108 )
...
--validate-signatures should not be a flag of the sign command
as the operation performed (transaction signatures verification)
is logically distinct.
cli_test is and has always been an horrible name for package
directory as it's very much Go anti-idiomatic - _test is the
suffix used by test packages, not directories. Plus, CLI test
cases can and should live alongside other testcases that don't
require binaries to be built beforehand. Thus:
x/module/client/cli_test/*.go -> x/module/client/cli/
Test files that require sim{cli,d} shall be tagged with // +build cli_test
With regard to cli test auxiliary functions, they should live in:
x/module/client/testutil/
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-05-04 13:55:16 +00:00
Jonathan Gimeno
add93849bd
client/flags: bind keyring flag for query commands ( #5956 )
2020-04-08 15:00:59 +02:00
Federico Kunze
9cce836c08
crypto/keys: move keybase and keyring to crypto/keyring/ dir ( #5866 )
...
* crypto/keys: move keybase and keyring to crypto/keyring/ dir
* Update client/keys/root.go
* Update crypto/keyring/errors.go
* Update crypto/keyring/keybase.go
* Update crypto/keyring/options.go
* format
* changelog
* fix build
* format
* lint
2020-03-25 15:20:36 +00:00
Alessio Treglia
230a1e8ba3
crypto/keys: improve documentation ( #5833 )
...
* crypto/keys: improve documentation
Remove out of date crypto/keys README.md file.
Populate client keys commands help screen with
more information regarding keyring backends.
* Fix formatting
* Fix lint warning
2020-03-19 16:58:14 +00:00
Jonathan Gimeno
8c7bb89549
Implementing --offline flag ( #5810 )
...
Closes : #5448
2020-03-19 02:49:33 +01:00
Marko
e3dc0fd4a6
Merge PR #5671 : CORS - Add a Flag for CORS
2020-02-21 12:17:27 +01:00
Federico Kunze
5a0a36a8c9
Merge Pr #5585 : client and types additions for IBC
2020-01-30 10:13:42 -05:00
Alessio Treglia
415eab7a56
Create new generic keyring constructor: NewKeyring ( #5547 )
...
Remove other convenience constructors:
* Remove NewKeyBaseFromHomeFlag
* Remove NewKeyringFromDir
* Remove NewKeyringFromHomeFlag
2020-01-22 17:54:56 +00:00
Alexander Bezobchuk
c1991e31bd
Merge PR #5527 : Bump Tendermint Version to v0.33.0
...
* Bump Tendermint version to v0.33.0
* Deprecate old cmn package with new packages
* Update update DB APIs
* More DB updates
* Bump IAVL to v0.13.0
* Handle error returned by iavl.NewMutableTree
* Fix some IAVL stuffs
* Update IAVL
* More updates
* Passing tests
* Fix unit tests
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-01-16 13:46:51 -08:00
Alessio Treglia
3c82b66347
Merge PR #5427 : Remove code duplication in x/auth/client/cli
2019-12-27 10:23:18 -05:00
Alessio Treglia
394860068d
keyring's encrypted file backend integration ( #5355 )
...
Client commands accept a new `--keyring-backend` option through which users can specify which backend should be used by the new key store:
- os: use OS default credentials storage (default).
- file: use encrypted file-based store.
- test: use password-less key store (highly insecure).
2019-12-11 09:45:26 +00:00
Alexander Bezobchuk
6d5ca0b4f1
Remove print response flag ( #4593 )
...
This flag isn't used anywhere and probably hasn't for quite some time.
2019-06-20 14:26:48 +02:00
Alessio Treglia
8cc708b67c
Remove --cors flag ( #4525 )
...
The feature is long gone.
Thanks: Angelo Recca <a.recca@bitsong.io> for reporting this.
2019-06-10 17:01:48 +01:00
Alexander Bezobchuk
8b1d75caa2
Merge PR #4382 : Support height queries for queriers
2019-05-28 20:58:33 -04:00
frog power 4000
73e5ef7c13
reduce module interdependancy, /client refactor ( #4415 )
...
* abstract staking BuildCreateValidatorMsg, genutil defines its own flags
* client/ refactor
* staking move keys from keeper to types
2019-05-28 09:44:04 +01:00