Andrei Ivasko
d37c590e90
Limit context background ( #8093 )
...
* limit context background
* update
* fixed minor issues
* fixed TestStatusCommand
* Fix keyring import from older versions. (#8436 )
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
* Add changelog (#8490 )
* fix: tendermint subcommands should not create missing files (#8481 )
If the user specifies an incorrect `--home`, then the old behaviour
would automatically populate it with fresh values, but we should
fail instead.
* limit context background
* update
* fixed minor issues
* fixed TestStatusCommand
* statik.go
* replaced static.go
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: Michael FIG <mfig@agoric.com>
2021-02-03 09:47:25 +00:00
MD Aleem
92317931c2
Fix Unregistered interface types.Evidence ( #8221 )
...
* fix Unregistered interface
* add test
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-12-23 04:22:53 +00:00
Robert Zaremba
a3ae6e3704
Combine client.ReadTxCommandFlags with GetClientContextFromCmd ( #8155 )
...
* Update codebase to simplify clientCtx loading from cmd
* make ReadTxCommandFlags and ReadQueryCommandFlags private
* fix build error
* fix conflicts
2020-12-14 22:09:51 +00:00
Robert Zaremba
fe41718047
Robert/api clientctx ( #8107 )
...
* rename clientCtx.PrintOutput to PrintObject
* rename clientCtx.PrintOutputLegacy to PrintObjectLegacy
* Changelog update
* Rename PrintObject to PrintProto
2020-12-08 20:17:40 +00:00
MD Aleem
d4a919b714
change TmService's validator pubkey type to any ( #8060 )
...
* change validator pubkey type to any
* add test for vslidator pubkey
* change address to string
Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2020-12-07 13:51:38 +00:00
Amaury
74435137e9
Show height on legacy REST endpoints ( #7997 )
...
* Fix showing height in rest endpoints
* Fix query height
* Manually inject req.Height
* Small tweaks
* Use withHeight
Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-11-24 10:28:12 +00:00
Amaury
35183a37e6
Fix StatusCommand ( #7974 )
...
Co-authored-by: SaReN <sahithnarahari@gmail.com>
2020-11-18 21:44:13 +00:00
Marie Gauthier
90e9370bd8
Replace tmcrypto.PubKey by our own cryptotypes.PubKey ( #7419 )
...
* WIP on removing tm pub/privkey
* Fix part of crypto tests
* Add PrivKeyLedgerSecp256K1 proto type
* Use BasePrivKey for ledger priv key type
* Refacto continued
* First round
* x/staking
* Continue porting
* x/* done
* Make build pass
* More conversion
* Remove IntoTmPubKey
* Fix test
* Remove crypto.PubKey in some other places
* Revert ledger changes
* Fix comment
* Remove useless function
* Add To/FromTmPublicKey
* Add migrate tests
* Fix test
* Fix another test
* Rename tm conversion functions
* Less code
* Rename BasePrivKey to LedgerPrivKey
* Add changelog
* Rename functions
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-11-09 16:01:43 +00:00
Marko
5ce15cb963
tm: update to latest ( #7376 )
...
* update to latest tm
* fix tests
2020-09-23 13:44:40 +00:00
Alessio Treglia
d4b0e5baab
client: fix validator's command pagination default page ( #7278 )
...
Fix issue encountered in the stargate-2 testnet:
Error: RPC error -32603 - Internal error: page should be within [1, 1] range, given 0
Co-authored-by: Helder Moreira <helder@tendermint.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2020-09-10 18:36:49 +00:00
Marko
8de96d16f9
tendermint: update to rc3 ( #6892 )
...
* modify light imports
* change abci.header to tmproto.header
* use rc
* rc
* fix import
* Merge PR #6893 : fix key imports
* fix rc2
* tendermint: update 3 (#6899 )
* tendermint: update 4 (#6919 )
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
* tendermint: update 5 (#6923 )
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* bump to latest master
* tendermint: update (#6972 )
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
* Update x/ibc/07-tendermint/types/test_utils.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* address comment
* go mod
* bring back things
* fix test
* update tm proto files
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Aleksandr Bezobchuk <aleks.bezobchuk@gmail.com>
Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Federico Kunze <federico.kunze94@gmail.com>
2020-08-14 13:58:53 -04:00
Aaron Craelius
7de8ef75b3
Require proto.Message in client.Context.PrintOutput ( #6999 )
...
* Enable proto JSON json for cli tx & query
* WIP on tests
* Test fixes, cleanup
* Cleanup
* Address review comments
* Update client/context.go
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
* Fixes
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
Co-authored-by: Anil Kumar Kammari <anil@vitwit.com>
2020-08-11 03:19:49 -04: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
515b25b94e
Context: Remove Init/New ( #6797 )
...
* init commit
* remove new/init functions
* update CLI commands
* tests: fix TestCLIQueryConn
* remove viper
2020-07-20 16:42:46 +00:00
Alexander Bezobchuk
e59781eca7
Merge PR #6765 : x/auth: Finish CLI Refactor
2020-07-17 16:20:45 -04:00
Alexander Bezobchuk
d5049413ef
Merge PR #6525 : x/bank: Refactor CLI & Tests
2020-06-30 16:59:21 -04:00
Aaron Craelius
81d647e505
Move codec.RegisterCrypto and codec.Cdc to new packages ( #6330 )
...
* Move codec.Cdc to legacy_global.Cdc
* Update CHANGELOG.md
* Updates
* nit
* Fix imports
* Updates
* Use cosmos multisig instead of tendermint multisig everywhere
* Fix tests
* Rename legacy_global -> legacy
* Add doc.go
* Linting, move all RegisterCrypto calls to crypto/codec
* Update crypto/codec/amino.go
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-06-04 10:38:24 +00:00
SaReN
39f53ac22f
client: rename CliContext to Context ( #6290 )
...
* Refactor CliContext as Context
* Fix lint issues
* Fix goimports
* Fix gov tests
* Resolved ci-lint issues
* Add changelog
* Rename cliCtx to clientCtx
* Fix mocks and routes
* Add changelog
* Update changelog
* Apply suggestions from code review
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
* merge client/rpc/ro{ot,utes}.go
* Update docs
* client/rpc: remove redundant client/rpc.RegisterRPCRoutes
* regenerate mocks
* Update ADRs
Co-authored-by: Alessio Treglia <alessio@tendermint.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-06-01 12:46:03 +00:00
Alessio Treglia
ccfa9c0484
client/rpc: fix panic on status command
2020-04-23 21:01:47 +02:00
Alessio Treglia
b75406534d
add missing keyring-backend flag ( #5985 )
...
Query commands that don't append all `get` flags would
panic otherwise.
2020-04-11 18:52:36 +02:00
Alessio Treglia
ca19fbc5f8
types/rest: add convenience functions for error checking ( #5900 )
2020-04-01 09:50:22 +02:00
Alexander Bezobchuk
260fbc3cc8
Merge PR #5537 : Fix validatorset REST pagination
2020-01-17 12:33:59 -05: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
Alexander Bezobchuk
869531ca92
Merge PR #5495 : Replace Redundant Bech32 PubKey Functions
2020-01-09 09:04:28 -05:00
Alexander Bezobchuk
4b354a782b
Merge PR #4840 : Various Updates for Gaia
2019-08-03 09:56:15 -04:00
Alexander Bezobchuk
451535bd79
Merge PR #4837 : Cleanup node_info Endpoint
2019-08-02 11:52:55 -04:00
Marko
b2f8c58ec4
Merge PR #4608 : More linters - Gosec, staticcheck
2019-06-26 13:30:36 -07:00
Alexander Bezobchuk
d5fe9b7eef
Merge PR #4550 : Minor Cleanup
2019-06-14 11:52:28 +02:00
colin axner
95f3d32250
Merge PR #4536 : Return account queries with height
2019-06-13 15:54:17 +02:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -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
Alexander Bezobchuk
829ce17d06
Merge PR #4307 : Don't pass height to RPC calls
2019-05-09 16:42:25 -04:00
Alessio Treglia
06f7b2198a
Replace vet with golangci lint govet ( #4277 )
...
Drop go vet in favor of golangci-lint govet check.
Fix golangci-lint warnings.
Upgrade golangci-lint.
2019-05-06 17:50:05 +01:00
Alessio Treglia
3c88ddc2f5
Merge PR #4083 : Replace gaiad --assert-invariants-blockly with --inv-check-period
...
* Remove old broken flag
* Support --inv-check-period which asserts invariants every nth period
2019-04-10 19:33:50 -04:00
Karoly Albert Szabo
5bb6090e38
Add route for querying signing_info for all validators ( #3952 )
...
Also remove duplicate pagination:
- move function to extract query params into types/rest
- adjust pagination values locally until available in tendermint for validators
Code cleanup:
- helper function in test
- fix pagination description in swagger.yaml
- uint instead of int when possible
Closes : #3226
Closes : #3991
2019-03-28 18:43:33 +00:00
Alessio Treglia
cdf2b7a7c5
gometalinter -> golangci-lint migration ( #3933 )
...
{,scripts/}Makefile:
- Remove gometalinter, install golangci-lint.
- Remove distinction between tools and devtools.
Just tools is enough.
- test_lint -> lint
Migrating away from underscore separated names.
- Remove unnecessary targets.
- Drop tendermint/lint. Incompatbile with golangci-lint
and no longer necessary anyway.
- Fix misleading message in go-mod-cache.
- New ci-target to avoid download tools twice.
- Run tests with -mod=readonly.
Port tools/gometalinter.json to .golangci.yml
Update CircleCI config accordingly.
Closes : #3896
2019-03-19 17:52:43 +01:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
Alexander Bezobchuk
7173164f73
Merge PR #3504 : Fix validator address encoding in tm validator set command
2019-02-06 04:20:07 +01:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -08:00
Alessio Treglia
0ed6de0cbd
Merge PR #3426 : Various changes to version cmd, revert those which previously broke ABI
...
* version prints out short info by default
Handle -o json, add --long flag to print full version info.
* Add distclean target to Makefile
* Update PENDING.md
* Add missing targets in .PHONY
2019-01-29 23:25:43 +01:00
Alessio Treglia
20bcacfaf4
Merge PR #3316 : Fix regression in gaiacli config file handling
...
* --chain-id must be a persistent flag to be successfully read from config
* Prevent panic when not enough arguments
* Add docs on gaiacli config
* Small tweak
2019-01-17 16:40:34 +01:00
Jack Zampolin
0360b12075
Remove unimplemented gaiacli init command ( #3156 )
2018-12-19 08:25:27 -08:00
Alessio Treglia
24a1670cf0
Run make format
2018-12-10 14:27:25 +00:00
Christopher Goes
aa72e72ce4
Merge #2932 : Update to Tendermint v0.27.0-dev0
...
* Update upstream Tendermint version
* Update PENDING.md
* Fix for accum -> proposer priority
2018-11-28 23:29:55 +01:00
Jack Zampolin
cade5f552c
Address linting issues
2018-11-07 15:38:30 -08:00
Jack Zampolin
d4fb6d4ebe
Reorganize CLI command structure. Fixes #2575
2018-11-07 15:03:00 -08:00
HaoyangLiu
9ee9e28439
Merge PR #2462 : Add swagger-ui for gov, stake and slashing
2018-10-24 15:19:48 +02:00
Christopher Goes
1f12f204ce
Testcase fixes, 'make format', negative pre-genesis block
2018-10-05 14:11:36 +02:00
HaoyangLiu
9f67e8af20
Merge PR #2215 : Add swagger-ui for gaiacli lite-server
2018-10-04 13:00:24 +02:00
Christopher Goes
17983460b8
Merge PR #2219 : Update to Tendermint 0.24 (except NextValSet offsets)
2018-10-03 17:48:23 +02:00