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
Alessio Treglia
3db39cda3c
Fix various linter warnings ( #5824 )
2020-03-18 12:59:08 +00:00
Aleksandr Bezobchuk
b557d4278f
Update CanonicalSignBytes godoc
2020-03-16 11:52:07 -04:00
Aleksandr Bezobchuk
98f62db242
Fix linting
2020-03-15 14:10:15 -04:00
Aleksandr Bezobchuk
f60cd5a2b5
Merge branch 'master' into bez/proto-client-init
2020-03-14 12:34:34 -04:00
Jonathan Gimeno
2e42f9cb74
Favor marshal unmashal binare bare ( #5799 )
...
* change abci file to use BinaryBare
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in mint keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in auth keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in distribution keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in staking keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in gov keeper store.
* change all calls to EncodeLengthPrefixed to BinaryBare in slashing keeper store.
* update decoder test
* migrate decoder
* migrate gov simulation decoder
* migrate baseapp_test
* refactor QuerySubspace
* refactor coedc std codec
* migrate keybase
* migrate iavl store
* migrate root multi
* migrate ante basic
* migrate tx type to bare
* migrate auth client
* update auth types
* update decoder
* migrate supply decoder
* migrate stake encoding
* migrate staking simulation
* migrate genutil
* migrate simapp test helpers
* migrate docs
* upgrade changelog
* Update CHANGELOG.md
Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-13 19:58:43 +00:00
Aleksandr Bezobchuk
c49af0b8dd
Update context
2020-03-13 13:59:14 -04:00
Aleksandr Bezobchuk
b38d3ae69a
Update ADR and types
2020-03-12 15:35:22 -04:00
Alessio Treglia
9bd603ae88
crypto: cleanup, more testing
...
crypto.LedgerShowAddress() is a ledger specific function
and should takes acc address prefix instead of depending
on a sdk.Config singleton.
crypto/keys/mintkey:
- decryptPrivKey() return error instead of os.Exit()ing.
- encryptPrivKey() should panic instead of os.Exit() when
bcrypt.GenerateFromPassword() call fails so that the
caller is given a chance to recover().
crypto/keys:
- SignWithLedger() does not need to be method of
baseKeybase. Method receiver is unused.
- ledgerInfo objecta may be pointers, type switch
should handle both to avoid panics.
- keyringKeybase should not provide Update() at all.
More test cases are added to increase package crypto
and subpackages overall coverage.
2020-03-02 11:09:52 +00:00
Alessio Treglia
d7fd5b6a42
Replace defer with testing.T.Cleanup() ( #5732 )
2020-03-02 00:16:23 +00:00
Alessio Treglia
5a2e59ebb2
Exclude proto files from format ( #5706 )
...
* Don't change proto files on make format
The format target does not need to depend on tools.
Thus remove dependency.
* Run make format
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-27 07:53:22 -03:00
Marko
e3dc0fd4a6
Merge PR #5671 : CORS - Add a Flag for CORS
2020-02-21 12:17:27 +01:00
Gerry Agbobada
235aa6c091
Merge PR #5648 : Add min-height and max-height filters to TxSearch
2020-02-17 04:17:34 -05:00
Jonathan Gimeno
242f674e78
Merge PR #5640 : change default path to show swagger
2020-02-13 12:08:34 -05:00
Anthony
b0c6c750df
Merge PR #5618 : Add test of missing verifier in cli context
2020-02-06 10:27:23 -05:00
Mircea Colonescu
43137ee893
Merge PR #5605 : Update swagger.yaml
2020-02-03 09:28:32 -05:00
Federico Kunze
5a0a36a8c9
Merge Pr #5585 : client and types additions for IBC
2020-01-30 10:13:42 -05:00
Alessio Treglia
d0ff973386
Merge PR #5562 : Remove KeyringServiceName from the sdk.Config struct
2020-01-23 13:47:11 -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
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
c92a7389ff
Merge PR #5526 : Fix migrate command
2020-01-15 12:29:36 -05:00
Sunny Aggarwal
f367087731
Merge PR #5439 : Keybase: Multiple Signature Algorithms
2020-01-14 10:40:10 -05:00
Alexander Bezobchuk
869531ca92
Merge PR #5495 : Replace Redundant Bech32 PubKey Functions
2020-01-09 09:04:28 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Alessio Treglia
3c82b66347
Merge PR #5427 : Remove code duplication in x/auth/client/cli
2019-12-27 10:23:18 -05:00
Ferenc Fabian
8353680115
Merge PR #5442 : Remove of the client/alias.go
2019-12-23 11:05:47 -05:00
Austin Abell
d7b0f4b9b4
apply options on newly added keyring types ( #5404 )
2019-12-13 11:21:49 +00:00
Austin Abell
0e28da23e7
Interchangable PrivKey implementations in keybase ( #5278 )
...
Allow for the keybase to be configured to override the implementation
of the key that is saved to the keybase.
Closes : #4941
2019-12-12 21:52:24 +00: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
Alessio Treglia
0300a6f6d7
Small non-breaking UX changes to keys {list,delete} commands ( #5366 )
...
Add --list-names flag to keys command for short listing.
Make keys delete accept multiple key names at once.
Usage example:
gaiacli keys list -n | xargs gaiacli keys delete
2019-12-05 16:07:29 +01:00
Alessio Treglia
b9cb3e105d
Merge PR #5345 : Add dev docs for COSMOS_SDK_TEST_KEYRING
2019-11-30 09:32:08 -05:00
Alessio Treglia
d4c831e63a
Drop on-disk keybase in favor of keyring ( #5180 )
...
* Switch keys commands to keyring
* Replace NewKeybase with NewKeyring
* Fix delete test
* Purge dead code
* Override COSMOS_SDK_TEST_KEYRING envvar to switch to a test keyring
* s/unningOnServer/unningUnattended/
C'ing @tnachen
* Add deprecated warning, output looks like the following:
```
$ gaiacli keys update --help
Command "update" is deprecated, it takes no effect with the new keyring
based backend and is provided only for backward compatibility with the
legacy LevelDB based backend.
Refer to your operating system's manual to learn how to change your
keyring's password.
Change the password used to protect private key
Usage:
gaiacli keys update <name> [flags]
Flags:
-h, --help help for update
Global Flags:
--chain-id string Chain ID of tendermint node
-e, --encoding string Binary encoding (hex|b64|btc) (default "hex")
--home string directory for config and data (default "/home/alessio/.gaiacli")
-o, --output string Output format (text|json) (default "text")
--trace print out full stack trace on errors
```
* Update multisign command
* Modify server.GenerateSaveCoinKey()
* GenerateSaveCoinKey more modifications
* Update docs
* Update upgrade module
2019-11-14 15:17:21 +01:00
Marko
92d2dbe3ff
Merge PR #5244 : Add debug commands
2019-11-11 09:54:32 -05:00
Alexander Bezobchuk
ede9aaed3b
Revert "Mege PR #5092 : changed bench32prefixes" ( #5283 )
...
This reverts commit 5a310fabbd
.
2019-11-06 10:18:48 -07:00
Elvin
5a310fabbd
Mege PR #5092 : changed bench32prefixes
2019-11-06 07:18:32 -07:00
Marko
b9490f2d93
Merge PR #5203 : Add more linters
2019-10-17 09:47:35 -04:00
Marko
9f3789157e
Merge PR #5192 : golangcI-lint updates & set static version to 1.19
2019-10-14 11:43:19 -04:00
Alessio Treglia
ee404e96ab
Merge PR #5164 : Handle New{,Test}Keyring errors
2019-10-09 14:53:54 -04:00
Vladimir Evgrafov
1a33f1c8cb
Merge PR #5155 : Remove unused KeyBase (dead code)
2019-10-08 16:48:41 -04:00
Alexander Bezobchuk
f84d9fa078
Merge PR #5136 : Refactor CLIContext to allow multi-chain verifiers
2019-10-02 20:29:28 -04:00
Alessio Treglia
3e6562ce45
Merge PR #5097 : Add keys migrate command
...
Add new command to assist users migrate their keys from the legacy
on-disk keybase to the new OS keyring-based implementation.
Ref #4754
2019-09-30 11:49:12 -04:00
Marko
01d8a230b2
Merge PR #5068 : Add linter Nakedret
2019-09-19 09:21:38 -04:00
Timothy Chen
ab6d0a0bae
Merge PR #5023 : Implement Gaia Tx Decode
2019-09-17 17:08:09 -04:00
Marko
6684cdf3e5
Merge PR #5048 : Fix linters and add golint
2019-09-16 13:11:17 -04:00
Timothy Chen
5bcab79e8a
Merge PR #4996 : Expose precheck errors from tx
2019-09-11 14:56:36 -04:00
kevlubkcm
5c27892621
Merge PR #4917 : add where to find the event tags into the swagger
2019-09-10 12:01:08 -04:00
tyldar
a131570cdc
Merge PR #4961 : Switched keys prefixes to the config ones
2019-08-28 10:37:05 -04:00
Marko
3a4f1fc4d4
Merge PR #4881 : Linting Galore
2019-08-19 12:06:27 -04:00
Alexander Bezobchuk
89b1220398
Merge PR #4924 : Return Height on Query Errors + Update Account Endpoint
2019-08-19 10:58:11 -04:00
Henrik Aasted Sørensen
91b53f2698
Merge PR #4919 : Fix GetConfirmation User Input Bug
2019-08-19 09:22:07 -04:00
Alexander Bezobchuk
9adb398e18
Merge PR #4905 : Various Height Query Fixes
2019-08-14 12:45:11 -04:00
Federico Kunze
c441ce2fab
Merge PR #4847 : Sim refactor 1 move store decoders to modules
...
* move store decoders to modules
* fix
* module pattern
* compile
* update Decoders params
* fix
* address @colin-axner comments
* Update cmd_test.go
* simulation manager
* mino fixes
* cleanup
* Apply suggestions from code review
Co-Authored-By: frog power 4000 <rigel.rozanski@gmail.com>
* address @rigelrozanski comments
* changelog
* Apply suggestions from code review
Co-Authored-By: colin axner <colinaxner@berkeley.edu>
* restructure modules simulation pkgs
* address @alexanderbez comments
* fix
2019-08-13 18:16:03 -04:00
Alexander Bezobchuk
fee71e72d4
Merge PR #4876 : Fix BroadcastTxCommit Response
2019-08-13 09:21:52 -04:00
Alexander Bezobchuk
46c98d396d
Merge PR #4895 : Lite Client Query Height Fix
2019-08-13 09:13:34 -04:00
frog power 4000
771f8a04f3
Merge PR #4865 : Add security contact to Validator description
2019-08-12 09:10:16 -04:00
Alessio Treglia
cf1980273f
Merge PR #4848 : Rely on rpcserver.DefaultConfig() to inherit default config values
2019-08-05 13:13:29 -04:00
Alexander Bezobchuk
4b354a782b
Merge PR #4840 : Various Updates for Gaia
2019-08-03 09:56:15 -04:00
Riccardo Montagnin
f218de8141
Merge PR #4806 : Converted balance from sdk.Int to sdk.Coin inside DelegationResponse
2019-08-02 12:37:35 -04:00
Alexander Bezobchuk
451535bd79
Merge PR #4837 : Cleanup node_info Endpoint
2019-08-02 11:52:55 -04:00
yys
adf6ddd4a8
Merge PR #4716 : Fix ledger custom coin type support bug
2019-07-29 11:01:53 -07:00
Federico Kunze
fb3e0af0b6
Merge PR #4760 : update x/auth to match module spec
2019-07-29 08:27:01 -07:00
Jack Zampolin
0ba74bb4b7
Merge PR #4777 : Fix Height Queries
2019-07-25 17:45:13 -07:00
Federico Kunze
e85a734a57
update x/genaccounts to match module spec ( #4759 )
2019-07-22 16:26:42 +01:00
Karoly Albert Szabo
8a042dedd3
Supply patch for REST ( #4698 )
...
While reintroducing the contract tests a little discrepancy was noted:
* type from integer to string in the swagger definition for supply/total/{denominator}
* remove slash from supply/total route in the implementation
2019-07-09 11:43:00 +01:00
Alexander Bezobchuk
aba1f649ad
Merge PR #4658 : Generalize Querier REST Pagination
2019-07-02 09:00:46 -04:00
Federico Kunze
48e8161f25
supply querier ( #4592 )
...
Add querier to the supply module.
Closes : #4082
2019-07-01 12:32:04 +01:00
Alexander Bezobchuk
3a39e9d558
Merge PR #4637 : Update Search Txs by Events APIs
2019-06-28 09:32:47 -04:00
Marko
b2f8c58ec4
Merge PR #4608 : More linters - Gosec, staticcheck
2019-06-26 13:30:36 -07:00
Alessio Treglia
7b5e6cee07
Remove client/input.{Buffer,Override}Stdin() functions ( #4602 )
...
Cobra's new release made them redundant.
Thanks: Juan Leni <juan.leni@zondax.ch> for the original patch.
2019-06-22 11:24:59 +02:00
Marko
4ffabb65a5
lint add deadcode unused ( #4606 )
...
Added deadcode and unused linters to the repo, it
helped find some unused code.
Ref #4589
2019-06-21 17:18:01 +02: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
Hans Schoenburg
c3bef9a211
remove ICS categories from swagger UI docs Fixes #4357 ( #4429 )
2019-06-20 14:17:58 +02:00
Alessio Treglia
c530c1cbb7
Remove auth's AccountDecoder type ( #4588 )
...
AccountDecoder is now entirely redundant.
client package now does no longer depend on x/auth.
Context: #4488
2019-06-19 16:20:27 +02:00
Alessio Treglia
1eb7706c28
Separate account getters from client/context ( #4579 )
...
Account getters are removed from client context. x/auth has the
queriers necessary for retrieving account information.
These functions should be removed since they are currently
redundant and don't provide any extra value.
Closes : #4543
2019-06-19 14:24:11 +02:00
Alessio Treglia
1fcac93d57
switch GetConfirmation()'s default to no ( #4575 )
...
client/input.GetConfirmation() returns true if and only if the
user's input is confirmative.
The function is used in places where fat-fingering may cause
financial loss, e.g. gaiacli tx send command. Thus it seems
wiser to provide a conservative default in order to protect
users from accidental mistyping.
Closes : #4564
2019-06-18 11:46:51 +02:00
Alessio Treglia
18415eedaf
Take empty input as yes answer ( #4565 )
...
Closes : #4564
2019-06-16 12:06:39 +02:00
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +02: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
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
dc84c99dee
Revert "Generalize auth/types.StdSignature ( #4507 )" ( #4512 )
...
This reverts commit a32d5a46d7
.
2019-06-08 11:04:52 +01:00
Alessio Treglia
a32d5a46d7
Generalize auth/types.StdSignature ( #4507 )
...
New Signature interface available in the top level types package.
auth.StdSignature implements such interface. User defined auth
module can now define their own custom signature types.
Work carried out in the context of the following issues:
- #4488
- #4487
2019-06-07 14:21:35 +01:00
colin axner
c777fb9108
Merge PR #4505 : Support height queries in REST client
2019-06-07 09:02:07 -04:00
Alexander Bezobchuk
3180e68c7b
Merge PR #4499 : Remove Client Codec Redundancy
2019-06-06 11:43:15 -04:00
frog power 4000
5f9c3fdf88
Merge PR #4451 : Client and Module Modularization
2019-06-05 19:26:16 -04:00
Karoly Albert Szabo
3962b3ca23
Update swagger file with tested GET routes ( #4470 )
...
A route had to be commented as it's returning 500 instead of 200 with
empty body -> will make the tests fail:
- /slashing/validators/{validatorPubKey}/signing_info
Related to cosmos/gaia#19
2019-06-04 18:20:26 +01:00
colin axner
6e2f5f3102
R4R: Support "unknown commands" for subcommands ( #4465 )
...
Fixes #4284
Now prints:
gaiacli query distr comission --trust-node cosmos1234
ERROR: unknown command "comission" for "distr"
Did you mean this?
commission
Adds custom argument validation for subcommands with subcommands. Doesn't affect "query" or "tx" subcommands since they reside in gaia repo. All flags except help are disabled for these commands.
2019-06-04 18:07:12 +01:00
Alessio Treglia
e9810ac25c
Merge PR #4433 : Adopt YAML as human-readable text output
2019-05-31 09:14:34 -04:00
Kwun Yeung
b44392b01a
Merge PR #4445 : update LCD submit delegation doc to match v0.34
2019-05-30 14:26:08 -04:00
Alessio Treglia
85ebf5f72e
Implement private keys export/import symmetric functionalities ( #4436 )
...
Add Keybase's ExportPrivKey()/ImportPrivKey() API calls to export/import
ASCII-armored private keys. Relevant keys subcommands are provided as well.
Closes : #2020
2019-05-30 16:44:28 +01:00
Alexander Bezobchuk
8b1d75caa2
Merge PR #4382 : Support height queries for queriers
2019-05-28 20:58:33 -04:00
Karoly Albert Szabo
c39fa755cb
Merge PR #4413 : Revert swagger removal
2019-05-28 09:46:26 -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
4b872d2eb4
Merge PR #4377 : Remove statik/Swagger UI
2019-05-20 11:19:53 -04:00
Alessio Treglia
71d71f2206
Remove gaia ( #4347 )
...
Gaia is removed from cosmos-sdk repository.
Few changes were required to make sure no packages depend on gaia subpackages.
CI config is amended accordingly.
Unnecessary targets are removed from Makefile.
Simulations run through a lightweight version of gaia renamed to simapp.
Closes : #4104
2019-05-18 10:42:24 +02:00
Alexander Bezobchuk
3153e93446
Merge PR #4356 : Update default verifier path
2019-05-17 10:22:33 -04:00
zxh0
db4c82bad2
Merge PR #4355 : Improve multisig key table format output
2019-05-17 10:15:45 -04:00
Alexander Bezobchuk
44f972584d
Merge PR #4333 : Remove Shares from Client Responses
2019-05-15 10:44:47 -04:00
Alexander Bezobchuk
829ce17d06
Merge PR #4307 : Don't pass height to RPC calls
2019-05-09 16:42:25 -04:00
Alexander Bezobchuk
85ffce5f58
Merge PR #4306 : Allow generate-only to fully operate offline
2019-05-08 16:06:05 -04:00
Alexander Bezobchuk
99df748dda
Merge PR #4285 : Update REST Client to Support Custom R/W Timeouts
2019-05-07 13:04:48 -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
Frank Yang
8bb2569abc
R4R: Fix /txs/encode endpoint ( #4212 )
...
Closes : #4141
2019-05-06 15:53:12 +01:00
Frank Yang
1cfc868d86
Support query txs' TotalCount in GET /txs ( #4214 )
...
Closes : #3942
2019-05-04 12:09:02 +01:00
Alexander Bezobchuk
67f1e12eec
Merge PR #4253 : Change User Supplied Param Change Value to json.RawMessage
2019-05-02 14:21:35 -04:00
Alessio Treglia
4e70a37c6b
Merge PR #4228 : gaiakeyutil -> gaiacli keys parse
2019-05-02 09:34:02 -04:00
Alessio Treglia
4d6480aa46
Move lcd tests into gaia ( #4245 )
...
Objective is to remove lcd -> gaia package dep.
Code cleanup.
2019-05-01 17:58:20 +01:00
Alessio Treglia
466e46ba0a
Remove client/utils dep on gaia ( #4246 )
2019-05-01 16:34:43 +01:00
Federico Kunze
e650a4f17e
fix param_change swagger docs ( #4240 )
...
Update /gov/proposals/param_change POST endpoint docs.
2019-05-01 00:06:07 +01:00
Alexander Bezobchuk
5ca93ac574
Merge PR #4206 : Param Change Proposal
...
* Add params error types
* Update param module keeper to take a codespace
* Update imports
* Implement SetRaw and SetRawWithSubkey
* Implement ParamChange and update aliases
* Add types codec
* Implement ParameterChangeProposal
* Implement TestParameterChangeProposal
* Fix linting errors
* Update tags
* Implement content
* Updata params aliases
* Finish params handler and proposal types
* Move deposit and vote logic to types package
* Move proposal type to types package
* Move errors to types package
* Update proposal
* Move gov messages to types package
* Minor updates to naming
* Move keys to types package
* Move codec to types package
* Move proposal types to types package
* Update aliases
* Add governance alias types
* Implement governance router
* Update gov aliases
* Update gov keeper
* Update private functions needed for the keeper
* Update godocs
* Update the gov message handler
* Update Gaia app
* Make updates to auth
* Update the message codec in the keeper
* Update gov end blocker
* Update types tests
* Minor tweaks
* Add legacy genesis logic
* Update gov aliases
* Move gov keys to types package
* Revertt to using gov/types in params
* Implement params handler test
* Update governance tests
* Fix endblocker tests
* Fix governance querier tests
* Add seal support to gov router
* Update simulationCreateMsgSubmitProposal
* Disable software upgrade proposals
* Move params keys to types package
* Implement param module proposal client logic
* Update gov client logic
* Update gaia app client hooks
* Fix linting errors
* Fix ValidateBasic
* Remove legacy files
* Update paramchange to use strings
* Update paramchange cli cmd
* Update ValidateBasic and errors
* Use PostCommands when adding child cmds
* Fix codec logic
* Update params client and handler
* Update IsValidProposalType
* Update SubmitProposal to test exec
* Implement TestGaiaCLISubmitParamChangeProposal
* Implement TestSubmitParamChangeProposal
* Update swagger.yaml
* Update gaiacli.md
* Update gov spec docs
* Fix linting errors
* Fix unit tests
* Add pending log entries
* Update docs
* Update docs
* Update client/lcd/swagger-ui/swagger.yaml
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update cmd/gaia/cli_test/test_helpers.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update client/lcd/test_helpers.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/gov/types/proposal.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Address PR comments
* Update docs/cosmos-hub/gaiacli.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update gov docs to include quorum notes
* Add logs to handleParameterChangeProposal
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Support and use new StatusFailed when proposal passes but fails exec
* Add docs/notes warning on param validity
* Update docs
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update docs/spec/governance/02_state.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Minor doc update
* Update x/gov/client/cli/tx.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Fix usage of fromAddr
* Rige code style suggestion
* Update x/params/types/proposal.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Fix CI lint errors
* Update NewModuleClient godoc
* Add godoc to rtr.Seal() call
* Rename files
* Rename NewProposalHandler
2019-04-30 12:31:38 -04:00
Juan Leni
1306a25e42
Adding support for Ledger Cosmos App v1.5 ( #4227 )
...
This PR adds support for the latest version of the Cosmos App (v.1.5).
The app is not been released yet by Ledger but the PR is backwards compatible.
We can later remove backwards compatibility and enforce v1.5 only.
When creating a new account, `gaiacli` now shows the account/index and address in the device and requires user confirmation.
Related PRs:
https://github.com/cosmos/ledger-cosmos-go/pull/3
https://github.com/cosmos/ledger-cosmos-go/pull/4
https://github.com/cosmos/ledger-cosmos-go/pull/5
https://github.com/cosmos/ledger-cosmos-go/pull/6
Changes in the app can be found here:
https://github.com/LedgerHQ/ledger-app-cosmos/pull/5
2019-04-30 09:58:21 +01:00
Frank Yang
5344e8d768
Merge PR #4220 : Empty mnemonic should return error during key recovery
2019-04-29 12:49:35 -04:00
Alexander Bezobchuk
050f6a61ba
Merge PR #4198 : Release v0.34.3
2019-04-26 12:13:23 -04:00
Alexander Bezobchuk
0e54369850
Merge PR #4177 : Update Staking Validators Rest Query
...
* Support pagination and status query params for /staking/validators
* Rename BondStatusToString to String
2019-04-24 11:48:39 -04:00
Alessio Treglia
93e8f467fe
Turn --from into a positional argument in gaiacli tx send ( #4146 )
...
Closes : #4142
2019-04-18 19:48:52 +01:00
Alexander Bezobchuk
0c23dec59f
Merge PR #4135 : Minor Fixes
...
* Add clarification to gen-only
* Add nil type check in NewResponseFormatBroadcastTxCommit
* Add small note to docs re: generate-only
2019-04-16 13:02:36 -04:00
Alessio Treglia
769370801d
Merge PR #4101 : Return per-validator rewards when querying delegator rewards
2019-04-16 09:43:08 -04:00
Aleksandr Bezobchuk
046932b084
Merge branch 'develop' into release/v0.34.0
2019-04-15 10:10:52 -04: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
Marin Basic
b50b25d0a9
Replace all REST query empty result HTTP Status codes to 200 ( #4065 )
...
All query params that are empty now returns success
(http.StatusOK) instead of mixed http status codes
(http.StatusNoContent/http.StatusBadRequest/
http.StatusInternalServerError)
Closes : #2007
2019-04-10 18:07:21 +01:00
Federico Kunze
8550d87319
unified sender tag ( #4057 )
...
Closes : #3775
2019-04-10 18:03:44 +01:00
Alessio Treglia
85021d4ca9
No packages must depend on cmd/gaia/ ( #4048 )
...
Preparation work for moving gaia out of the SDK.
2019-04-04 15:36:39 +01:00
Alexander Bezobchuk
0e55b6eada
Merge PR #4028 : Hex Encode Data in Tx Responses
2019-04-03 07:49:34 -07:00
Alexander Bezobchuk
bf17e1b020
Merge PR #4029 : Update Tendermint to v0.31.3
2019-04-03 09:03:21 -04:00
Alexander Bezobchuk
e2928d5b70
Merge PR ##4007: Add Block Time in Txs Responses
2019-04-02 21:09:37 -04:00
Karoly Albert Szabo
ecd2bfa16f
Merge PR #4014 : Update Swagger Config
2019-04-02 09:12:24 -04:00
Alexander Bezobchuk
b95ade93bd
Merge PR #4011 : Mint/Inflation Querier, LCD and CLI
...
* A few godoc updates
* More minor tweaks and reformatting
* Implement initial minting querier
* Implement stringer interface for minting params
* Minor cleanup
* Add minting CLI commands
* Implement inflation query command
* Implement annual provisions query and CLI command
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/client/module_client.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Update x/mint/querier.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
* Add minting REST client routes/handlers
* Fix build issues
* Implement querier unit tests
* Update gaiacli docs
* Implement LCD tests
* Update Swagger docs
* Add pending log entry
* add examples
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
* revert adding examples
Signed-off-by: Karoly Albert Szabo <szabo.karoly.a@gmail.com>
2019-04-01 10:28:36 -07:00
Alexander Bezobchuk
92f653b35c
Merge PR #4001 : Upgrade Tendermint to v0.31.1
2019-03-29 13:13:45 -04:00
frog power 4000
b85f5284a2
Merge PR #3971 : disable non-deterministic lcd test
2019-03-28 22:44:00 -04:00
frog power 4000
df4394185e
Merge PR #3656 : Broken-Invar Tx - aka. Crisis module
...
* beginning thinking on issue
* ...
* working
* working
* working fee pool distribution
* spek outline
* spec update
* gas refund calculations
* simulation saved to ~/.gaiad/simulations/
* lean simulation output
int
* cleanup bank simulation messages
* operation messges
int
* lint
* move simulation to its own module
* move simulation log code to log.go
* logger overhaul
int
* distribution comments
* fix compiling
* cleanup modifications to x/distribution/keeper/allocation.go
int
int
int
* gov bug
* result.IsOK() minimization
* importExport typo bug
* pending
* address @alexanderbez comments
* simple @cwgoes comments addressed
* event logging unified approach
* distr module name constant
* implementing
* compiles
* gaia integration
* proper constant fee removal
* crisis genesis
* go.sum update
* ...
* debugging
* fix sum errors
* missing err checks
* working implementing CLI
* remove query command
* crisis expected keepers in other modules
* crisis testing infrastructure
* working
* tests complete
* modify handler to still panic if not enough pool coins, docs working
* spec tags
* docs complete
* CL
* assert invariants on a blockly basis gaiad functionality
* gaiad CL
* transaction details in runtime invariance panic
* Apply suggestions from code review
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* sender tags
* @mossid suggestions
int
* @cwgoes comments final
* Apply suggestions from code review
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* bug seems fixed (#3998 )
* delete unused line in zero height export bug
2019-03-28 19:27:47 -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
Jack Zampolin
38b7c0705c
Implement client functionality for the community pool ( #3939 )
...
Fixes : #3937
2019-03-28 01:05:36 +00:00
Alexander Bezobchuk
9cf9e6fff6
Merge PR #3983 : Fix Flag Typo
2019-03-27 12:16:48 -04:00
Alexander Bezobchuk
ea46da7126
Merge PR #3970 : Fix Tx Sign Offline Mode
...
- Add shorthand flags `-a` and `-s` for the account and sequence numbers respectively
- Mark the account and sequence numbers required during "offline" mode
- Always do an RPC query for account and sequence number during "online" mode
- If clients wish to provide such values, they must use `--offline`. This makes the whole flow/UX easier to reason about.
closes : #3893
2019-03-26 10:36:10 -04:00
Alexander Bezobchuk
2b43e25d55
Merge PR #3954 : Tx Broadcasting Sync by Default
2019-03-25 20:54:23 -04:00
Frank Yang
5c2077c150
Merge PR #3935 : Modify stake to uatom in gaia's doc
...
* Modify stake to atom in gaia's doc. #3833
* Scale up the amount from atom to uatom.
* Scale up the amount from atom to uatom.
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>
* modify for review
2019-03-25 17:15:54 -04:00
Alexander Bezobchuk
59765cecb1
Merge PR #3857 : Remove Shares Concept from Unbond/Redelegate UX
...
* Remove shares concept from unbonding and redelegation
* Remove redundant staking REST type declerations
* Rename staking REST request types
* Fix slashing tests
* Fix staking tests
* Fix integration tests
* Add safety checks for when validator tokens are zero
* Attempt to fix simulation
* Add pending log entry
* Update docs
* Implement and use SharesFromTokens
* Rename ShareTokens and ShareTokensTruncated
* Rename Delegation to Amount in DelegateRequest
* Implement and use SharesFromTokensTruncated
* Update MsgDelegate to use Amount instead of Value
* Use constructors in staking sim messages
* Implement and use ValidateUnbondAmount
2019-03-25 17:13:02 -04:00
Alexander Bezobchuk
8528ac7665
Merge PR #3960 : Disable Keybase for Generate Only in CLI
2019-03-25 11:27:24 -04:00
frog power 4000
9b27901b2a
Merge PR #3958 : Fix lcd-testing 303030 bug continued
...
* 303030 bug part 2
* further rearrange
2019-03-21 15:43:02 -04:00
Alessio Treglia
8421008042
Remove REST server's secure mode altogether
2019-03-19 18:20:53 +01: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
Frank Yang
3d2886dc49
Remove Height Flag from CLI Queries #3883 ( #3910 )
...
Closes : #3883
2019-03-16 17:26:40 +01:00
Joon
465bb02d6a
Merge PR #3779 : Split Proposal Interface
2019-03-15 17:47:47 +01:00
Frank Yang
8d6d8adb5f
Merge PR #3899 : Using `gaiacli config node` breaks ~/config/config.toml ( #3903 )
...
Config file need to be truncated while rewriting.
2019-03-15 16:08:33 +01:00
Frank Yang
5081c930de
Merge PR #3887 : Add indent to prompt of `gaiacli tx send`
...
* Add indent to prompt of `gaiacli tx send`.
* Add indent to prompt of `gaiacli tx send` with flag --indent.
2019-03-15 16:08:05 +01:00
Frank Yang
7e53da86ee
Merge PR #3884 : steak to stake
2019-03-14 10:32:46 -04:00
Frank Yang
54ac1d2fe8
Merge PR #3841 : Add indent to JSON of `gaiacli key [add|show|list]`
...
* Add indent to JSON of `gaiacli key list`
* Add `-o json --indent` to `keys [add|show|list]`
* Add change log.
* Move entry from CHANGELOG.md to PENDING.md
* Update PENDING.md
Add indent to JSON of `gaiacli key [add|show|list]`
Co-Authored-By: yangyanqing <yangyanqing.cn@gmail.com>
2019-03-13 10:36:52 -07:00
Frank Yang
38796c1036
Merge PR #3859 : Add newline to echo of `gaiacli keys ...`
...
`gaiacli keys add a123 --multisig a1,a2,a3 --multisig-threshold 2`
`gaiacli keys add temp --recover` with incorrect mnemonic
2019-03-12 16:10:57 +01:00
Frank Yang
4e38c79b2d
Merge PR #3840 : Modify magic string "json" to OutputFormatJSON
2019-03-09 13:00:08 -08:00
Jack Zampolin
6f74095ce2
Merge PR #3831 : Move indent for json output to 2 spaces
2019-03-08 09:00:17 -08:00
Jae Kwon
a24dee0155
Merge PR #3808 : Make cli tests use build files
...
* Make cli tests use build files
* Update PENDING.md
Add PR number.
2019-03-07 11:51:14 -08:00
Christopher Goes
4c50380181
Merge PR #3750 : Outstanding per-validator rewards; correctly handle same-BeginBlock redelegation-double-slash
2019-03-06 19:54:12 +01:00
Alexander Bezobchuk
47a44fb580
Merge PR #3748 : Multisig Display UX Improvements
2019-03-01 13:29:33 -08:00
Tony Stark
7c3251fa26
Added a condition in querier
2019-03-01 08:49:18 +05:30
Tony Stark
cf18b5a11a
Modified CLI context
2019-03-01 01:10:55 +05:30
Alexander Bezobchuk
6ace1fada2
Merge PR #3696 : Cleanup Tx Broadcasting and Encoding
2019-02-26 12:34:27 +01:00
Alexander Bezobchuk
feb98bcd05
Merge PR #3698 : Prompt User Confirmation Prior to Signing & Broadcasting
...
* Prompt user confirmation prior to sign & broadcasting
* Update confirmation message
* Update and fix existing CLI integration tests
* Implement CLI integration test for tx confirmation
* Fix order of input into tx send
2019-02-26 12:34:01 +01:00
Jack Zampolin
250dc9807b
Merge PR #3731 : Fix keys add --interactive regression
2019-02-25 11:19:57 -08:00
Alexander Bezobchuk
b9be1166f7
Merge PR #3673 : Message & Codec Registration Consistency
2019-02-25 16:16:52 +01:00
Juan Leni
3eb0acda88
Merge PR #3670 : CLI support for showing bech32 addresses in Ledger devices
2019-02-25 12:34:39 +01:00
frog power 4000
b823203839
Merge PR: Fix lcd test unexpected slashing in TestBonding
2019-02-22 15:08:33 +01:00
Alexander Bezobchuk
0611d2eda2
Merge PR #3688 : JSON Decode Log in REST Client
2019-02-22 12:54:31 +01:00
frog power 4000
a814e5ce66
Merge PR #3679 : Consistent Operators
...
* Minus->Sub Plus->Add Div->Quo
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* fix
* typo
2019-02-21 12:35:55 -05:00
frog power 4000
ab9de3a7f1
Merge PR #3680 : Convenience ToDec()
...
* NewDecFromInt -> ToDec
* pending
* Update PENDING.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* test typo
* typo
2019-02-21 03:05:31 -05:00
Alexander Bezobchuk
e39debd359
Merge PR #3674 : Remove password/keybase from REST Client
2019-02-19 10:15:39 -08:00
Juan Leni
6967de1073
Merge PR #3676 : Refactored prefixes as constants
...
* Refactored prefixes as constants
* Fixing test
2019-02-18 22:35:08 +01:00
Jack Zampolin
5ccad4723f
Merge PR #3642 : Tx Query return values
2019-02-15 17:00:40 +01:00
Alessio Treglia
1aa6c197ff
Merge PR #3580 : Code cleanup of client types
2019-02-14 08:53:36 -08:00
frog power 4000
d66db6a772
Merge PR #3621 : module inter-dependency cleanup
2019-02-13 15:01:50 -08:00
Alessio Treglia
fe548c0829
Merge PR #3593 : hide dbKeybase's constructor
2019-02-11 17:18:58 -08:00
Juan Leni
94dccf3842
Merge PR #3586 : Fix keybase storage of ledger accounts
2019-02-11 09:02:47 -08:00
Christopher Goes
02e9dcb3a7
Merge PR #3567 : x/gov peer review
2019-02-09 03:33:06 +01:00
Alessio Treglia
360c7d2c58
Merge PR #3566 : Ensure mint/inflation params respect flag supplied by the caller
2019-02-08 17:07:42 -08:00
Alessio Treglia
e7e3c32204
Merge PR #3553 : Code cleanup, take #1
...
* add a bunch of tests, add DONTCOVER text tag
- Also fix flaky test (closes : #3559 ). Don't test values
returned by queries since there's no way to query a
specific height via REST.
* GetTempDir -> NewTestCaseDir
2019-02-08 22:45:41 +01:00
Jack Zampolin
2c9a5bc308
Merge PR #3554 : x/auth and x/bank review results
2019-02-08 22:35:19 +01:00
Christopher Goes
6ee9c97a5e
Merge PR #3561 : Don't store denominations in staking
2019-02-08 13:28:53 -08:00
Ducem Barr
9348750eb4
Merge PR #3523 : Add tx/encode endpoint and CLI command
2019-02-08 13:17:25 -08:00
Juan Leni
b5fdb83830
Merge PR #3517 : Increasing test coverage in keys/client package
2019-02-08 12:45:23 -08:00
Sunny Aggarwal
cff985ffc5
Merge PR #3546 : Min Self Delegation
2019-02-08 12:44:19 -08:00
Juan Leni
ba63eb1801
Merge PR #3557 : Removing pkg/errors when not necessary
2019-02-08 11:37:46 -08:00
Christopher Goes
38068a59ea
Merge PR #3507 : Results from x/staking & x/slashing peer review
2019-02-07 17:41:23 -08:00
Alessio Treglia
dff6d0e462
Merge PR #3551 : Code cleanup, small coverage boost
2019-02-07 14:38:45 -08:00
Jack Zampolin
408484e6d4
Merge PR #3503 : CLI flags to args
2019-02-06 16:15:37 -08:00
Alexander Bezobchuk
17c84ab34a
Merge PR #3524 : fix keys add flow to show seed by default
2019-02-06 14:20:36 -08:00
Alexander Bezobchuk
c5ab5699e3
Merge PR #3520 : Minor CLI Output Updates
...
* minor cli output fixes
* Update client/utils/utils.go
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2019-02-06 11:48:06 -08:00
Alessio Treglia
9a57ce0214
Merge PR #3514 : don't lock keybase on lcd startup
2019-02-06 11:23:49 -08:00
frog power 4000
52f2ec71a9
Merge PR #3400 : power reduction for Tendermint
...
* add uncompiled power functionality
* fix some compile errors
* Power -> TendermintPower
* tests rename GetTendermintPower
* test fix
* working
* fix delegation tests
* fix slash tests
* staking/keeper tests passing
* docs reversion
* debuggin workin
* x/staking test pass
* fix gov tests
* fix x/slashing tests
* working distribution test fixes
* fix distribution tests
* lint
* fix lcd tests
* fix gov test
* lint
* CLI fixes, rm stakingTypes
* typos
* working cli fixes
* cli test fix
* cli tests fixed
* testnet creation modification
* typo
* pending
* Sanitize Dec.Roundint64 (#3475 )
* merge fixes
* @cwgoes comments
* fix tests
* change power reduction to 10^-6
* option to turn off minting for LCD tests
2019-02-05 21:30:48 -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
Juan Leni
f5ada58780
Merge PR #3461 : GaiaCLI - refactor/fix --account and --index
2019-02-05 08:22:56 -08:00
Jack Zampolin
5e35354269
Merge PR #3451 : Make tags and responses legible
2019-02-04 18:20:56 -08:00
Alessio Treglia
a2b73c8ab4
Merge PR #3460 : Implement fee distribution RESTful endpoints
2019-02-04 16:45:18 -08:00
Sunny Aggarwal
18eee0a3a8
Merge PR #3428 : SendMsg and MultiSendMsg seperation
2019-02-04 15:58:02 -08:00
Alexander Bezobchuk
082295172e
Merge PR #3447 : Consume Gas Proportional to Tx Size
2019-02-04 15:35:12 -08:00
Alessio Treglia
9fb774832c
Merge PR #3492 : disable TLS flag by default
2019-02-04 13:08:11 -08:00
Alessio Treglia
c04c69648e
client/utils/ reorganization ( #3487 )
2019-02-04 07:48:26 -08:00
Alessio Treglia
2e4fa26864
Merge PR #3485 : Implement new ErrorResponse
2019-02-04 05:52:08 +01:00
Alessio Treglia
857a65dc61
gaiacli switches back to insecure mode by default ( #3470 )
2019-02-01 19:06:54 -08:00
Alexander Bezobchuk
097a640412
Allow Simulation and Gen Only in REST Client ( #3467 )
2019-02-01 17:04:13 -08:00
Joon
08e62fb157
Store Refactor 1 ( #2985 )
2019-02-01 17:03:09 -08:00
Jack Zampolin
5ea2be1adc
Merge PR #3458 : Fix usage of the config command in applications importing the SDK
...
* Fix usage of the config command in applications importing the SDK
* Update client/config.go
2019-01-31 19:39:46 +01:00
Alessio Treglia
f4cf45e17a
Merge PR #3453 : Make rest-server respect persistent flags
2019-01-31 01:49:14 +01:00
Christopher Goes
bc193df8e0
Merge PR #3449 : LCD proof verification
2019-01-30 22:48:20 +01: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
Alexander Bezobchuk
90797f5e09
Gaia Lite Generate Only Support (w/o Keybase) ( #3396 )
2019-01-29 11:22:47 -08:00
Alessio Treglia
493bbaa537
Merge PR #3360 : Remove --json flag from all commands
...
* remove --json flag from all commands and CLIContext
gaiad tendermint show-{address,validator} now take --machine-parseable/-m
for machine parseable output.
Closes : #3249
* Revert machine-parseable thing
2019-01-24 11:15:44 +01:00
Jack Zampolin
9f50c9f5b6
R4R: Ensure all CLI queries respect output flags ( #3320 )
2019-01-22 09:28:39 -08:00
Alessio Treglia
b055c129dd
Merge PR #3442 : make gaiacli config handle "indent" flag
...
It defaults to false, users can override it via gaiacli config
and avoid to append --indent to all commands:
$ gaiacli config indent true
Closes : #2607
2019-01-22 11:07:18 +01:00
Alessio Treglia
cffa39cf44
Add bash completion for gaiad and gaiacli ( #3334 )
2019-01-21 19:42:15 -08:00
frog power 4000
7f789d2ed3
Merge PR #3281 : Staking Spec Upgrade
...
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
* pending
* working
* minor refactors
* entry structs defined
* uncompiled mechanism written
* add many compile fixes
* code compiles
* fix test compile errors
* test cover passes
* ...
* multiple entries fix
* ...
* more design fix
* working
* fix test cover bug
* Update PENDING.md
* update comment around queue completion for redelegations/ubds
* basic spec updates
* spec folder cleanup
* cleanup docs folder cont.
* ...
* find-replace and folder rename
* supplimentary find/replace
* pending
* supplimentary
* pending
* few undos, stakingd -> staked
* to staking -> to stake
* undos
* most staking -> most stake
* ...
* undos
* simplestake->simplestaking
* ...
* pending update
* capital letter replacements
* ...
* working
* staking doc updates from rigel/delegation-index branch
* spec-spec
* spec-spec
* LooseTokens -> NotBondedTokens
* staking state.md updates
* updates to hook and endblock spec
* Update docs/gaia/gaiacli.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* Update docs/gaia/validators/validator-setup.md
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* comment undo
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* further updates to endblock and state
* msg json update
* working transaction updates
* working
* complete transaction rewrite
* PENDING.md
* typo
* add todo
* address @jackzampolin @cwgoes comments
* couple leftover comments, rename
* Update x/staking/types/pool.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* cwgoes additions
* cwgoes suggestions x2
2019-01-21 19:52:03 -05:00
Alexander Bezobchuk
36d1736a08
Refactor Gas/Fee Model ( #3258 )
2019-01-18 08:45:20 -08:00
frog power 4000
8f7a222308
Merge PR #3314 : Staking misc rename
2019-01-17 18:53:22 +01:00
frog power 4000
d9e32e93d5
Merge PR #3315 : Increase decimal precision to 18
...
* Decimal precision increase WIP
* fix String()
* resolve many errors
* changelog
2019-01-17 18:15:10 +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
Alessio Treglia
7fbc2822e8
Merge PR #3317 : Reintroduce gaia server's insecure mode
2019-01-17 14:06:33 +01:00
Christopher Goes
2942f83ff5
Merge PR #3099 : F1 fee distribution
2019-01-16 22:38:05 +01:00
Alessio Treglia
26cb0a125a
Multi-signature workflow support ( #3264 )
...
- New keys add --multisig flag to store multisig keys
locally.
- New multisign command to generate multisig
signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
addresses and key names.
Closes : #3198
2019-01-16 09:30:57 -08:00
frog power 4000
133934ae37
Merge PR #3243 : allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
...
* remove kv seperation for marshalling
* pending
* cleanup
* cleanup x2
* pending
* working
* minor refactors
* entry structs defined
* uncompiled mechanism written
* add many compile fixes
* code compiles
* fix test compile errors
* test cover passes
* ...
* multiple entries fix
* ...
* more design fix
* working
* fix test cover bug
* Update PENDING.md
* update comment around queue completion for redelegations/ubds
* basic spec updates
* remove ErrConflictingRedelegation
* @cwgoes comments are resolved
* Update x/staking/keeper/slash.go
Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>
* address @alexanderbez comments
2019-01-16 05:35:18 -05:00
cong
916ea85630
Merge PR #2730 : add tx search pagination related CLI/REST API parameter
2019-01-15 16:34:48 +01:00
frog power 4000
78a21353da
Rename stake/ to staking/ ( #3280 )
2019-01-11 12:08:01 -08:00
Alessio Treglia
df567616a9
Upgrade tendermint to 0.28.0-dev0 ( #3279 )
2019-01-11 09:19:01 -08:00
Sunny Aggarwal
31f61889ff
Merge PR #3269 : Rename tallyresult to finaltallyresult
2019-01-10 16:02:55 +01:00
Jack Zampolin
0e26a39f6f
Support adding offline pubkeys to gaiacli keys ( #3224 )
2019-01-08 08:49:03 -08:00
Federico Kunze
74aa9844fc
Fix swagger ( #3232 )
2019-01-08 08:13:04 -08:00
Federico Kunze
966baa567d
Change swagger host for online API requests ( #3229 )
2019-01-04 13:03:52 -08:00
Alexander Bezobchuk
fa056c9816
Minor cleanup of validator CLI logic ( #3221 )
2019-01-03 15:28:55 -08:00
Jack Zampolin
d1824ad704
R4R: validate sign tx request's body ( #3179 )
...
* validate sign tx request's body
Closes : #3176
* Introduce CodeNoSignatures
* Update swagger.yaml
* Fix tests
* Update x/auth/client/rest/sign.go
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2019-01-03 08:30:04 -08:00
frog power 4000
a98a5a056a
Merge PR #2958 : Validator Power Dec-> Int
...
* Validator Power Dec-> Int, working
* non-test code compiles
* working, many test compile fixes
* all test compile errors resolved
* ...
* slashing test fixes minor
* test cover passes
* invariant rounding issue
* comment update
* PENDING and doc updates
* @cwgoes comments
* RemoveDelShares trimmings to the final delegation share
* fixes
* ...
* fix the oopsie
* @alexanderbez comments
* merge fixes
* address @cwgoes comments
2019-01-02 15:29:47 -05:00
Alessio Treglia
903348a76c
Update swagger.yaml
2019-01-02 10:09:11 +00:00
Alessio Treglia
1ebe1844d2
validate sign tx request's body
...
Closes : #3176
2018-12-27 14:43:23 +01:00
Alexander Bezobchuk
b0662aa4f6
Implement Proposal Proposer client interfaces ( #3184 )
2018-12-21 09:30:46 -08:00
Mike Xu
2ce8722318
Merge PR #3141 : Fix the bug in GetAccount when len(res) == 0 and err == nil
...
* Fix the bug in GetAccount when len(res) == 0 and err == nil
* Add the pending log
2018-12-21 18:30:29 +01:00
Alessio Treglia
abbd2d4dd3
Change --gas=simulate to --gas=auto when sending txs ( #3170 )
2018-12-20 11:21:07 -08:00
Federico Kunze
f02f7aa5a0
Add fees and memo to REST, updated CLI to receive coins as fees ( #3069 )
2018-12-19 16:26:33 -08:00
Jack Zampolin
14ebc65daf
Merge PR #3119 : Move all store keys into constants
...
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Jack Zampolin
0360b12075
Remove unimplemented gaiacli init command ( #3156 )
2018-12-19 08:25:27 -08:00
Sunny Aggarwal
f4fb3608c0
Redelegation Querier ( #2559 )
2018-12-18 13:43:41 -08:00
Alessio Treglia
eac7d6939d
Merge PR #3127 : Don't fallback to any default values for chain id
...
- Remove DefaultChainID(). User needs to suplly chain ID
via either config or flag.
- Mark --chain-id as required by all tx commands.
- Fix gaiacli config values containing underscores.
Underscore '_' character is not automagically translated
into hyphen '-'. Viper values wouldn't be affected.
- Refresh gaiacli config tests
Closes : #810
2018-12-18 19:40:01 +01:00
Christopher Goes
371c7adeaa
Merge PR #3148 : Fix gaiad export
...
* Add boolean for LoadLatestVersion
* Update PENDING.md
2018-12-18 17:17:50 +01:00
Alexander Bezobchuk
ff6c2f2bad
Gov Get Vote(s)/Deposit(s) Updates ( #3091 )
2018-12-14 11:13:43 -08:00
Alexander Bezobchuk
110fd63e22
Add Slashing Query Params ( #3117 )
2018-12-14 11:09:39 -08:00
Federico Kunze
65beea4430
Add distribution REST endpoints swagger file ( #3038 )
2018-12-13 10:42:55 -08:00
Santatic
904778e102
Merge PR #3098 : Fix typo
2018-12-13 12:16:55 +01:00
Artur Albov
0c6d53dc07
Merge PR #2959 : Add TxEncoder to client TxBuilder
2018-12-12 22:29:42 +01:00
Jack Zampolin
0fbe319471
Code cleanup and refactor of LCD Tests ( #3077 )
2018-12-11 13:57:17 -08:00
Jack Zampolin
d8528ee4e8
Remove unused code
2018-12-11 13:30:03 -08:00
Jack Zampolin
6f08a0e76a
Address PR comments
2018-12-11 13:04:59 -08:00
Jack Zampolin
206566f043
Adjust for redelegation and unbonding changes
2018-12-11 11:34:02 -08:00
Jack Zampolin
73efc3c5d0
Merge branch 'develop' into jack/dry-rest-tests
2018-12-11 08:44:28 -08:00