Aleksandr Bezobchuk
f218e4c42d
Fix x/genutil ExportGenesis
2020-03-10 09:41:37 -04:00
Alessio Treglia
d7fd5b6a42
Replace defer with testing.T.Cleanup() ( #5732 )
2020-03-02 00:16:23 +00:00
Alexander Bezobchuk
794a496892
Merge PR #5533 : Protobuf: x/auth & x/supply
2020-02-18 13:50:13 +01:00
Alessio Treglia
c77bb7b038
Squash various linter warnings ( #5652 )
...
Closes : #5651
2020-02-16 20:06:45 +01:00
Chad Barraford
e2d4b9de44
Merge PR #5497 : ensure non-nil gentxs
2020-02-10 15:32:16 -05:00
Erik Grinaker
a7f25ade03
Merge PR #5613 : update to golangci-lint v1.23.3
...
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-02-05 11:32:45 -08:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572 : ADR 004 Implementation
2020-01-30 16:31:16 -05:00
Alessio Treglia
b647824716
Refactor x/auth/client/utils/ ( #5555 )
...
Packages named utils, common, or misc provide clients with no
sense of what the package contains. This makes it harder for
clients to use the package and makes it harder for maintainers
to keep the package focused. Over time, they accumulate dependencies
that can make compilation significantly and unnecessarily slower,
especially in large programs. And since such package names are
generic, they are more likely to collide with other packages
imported by client code, forcing clients to invent names to
distinguish them.
cit. https://blog.golang.org/package-names
2020-01-24 16:40:56 +00:00
Alessio Treglia
d0ff973386
Merge PR #5562 : Remove KeyringServiceName from the sdk.Config struct
2020-01-23 13:47:11 -05:00
Alexander Bezobchuk
a4b36b9dcd
Merge PR #5561 : v0.38 Migration Fixes
2020-01-23 13:15:22 -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
Alexander Bezobchuk
3df3887597
Merge PR #5499 : Cleanup genesis state validation + Genutil
2020-01-09 15:14:23 -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
Ferenc Fabian
8353680115
Merge PR #5442 : Remove of the client/alias.go
2019-12-23 11:05:47 -05:00
Alessio Treglia
98acd941e7
Reduce password prompt duplication when using keyring's file backend ( #5406 )
...
Workaround for #5403 , users are still prompted for password twice.
2019-12-16 23:48:52 -03: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
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
b9490f2d93
Merge PR #5203 : Add more linters
2019-10-17 09:47:35 -04:00
Alexander Bezobchuk
fbdf0e778e
Merge PR #5103 : Migration Testing
2019-09-26 09:07:15 -07:00
Marko
936cffef40
Merge PR #5055 : Added Prealloc, Gosec, Golint linters
2019-09-17 12:13:26 -04:00
Alexander Bezobchuk
943cc54811
Merge PR #5047 : Fix Genesis Accounts Migration
2019-09-17 10:39:08 -04:00
Marko
6684cdf3e5
Merge PR #5048 : Fix linters and add golint
2019-09-16 13:11:17 -04:00
Federico Kunze
ed6366679c
Merge PR #5017 : ADR 011: Generalize Genesis Accounts Implementation
2019-09-12 15:22:25 -04:00
Timothy Chen
c9abe72280
Merge PR #4968 : Improve error reporting in genutil CLI
2019-08-30 09:59:41 -04:00
Federico Kunze
45b25ceaae
Merge PR #4838 : Sim refactor 2 - Move GenesisState generators to modules
2019-08-28 10:58:25 -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
frog power 4000
771f8a04f3
Merge PR #4865 : Add security contact to Validator description
2019-08-12 09:10:16 -04:00
Alexander Bezobchuk
0dcf158387
Merge PR #4852 : Cleanup Supply Genesis State
2019-08-06 16:51:18 -04:00
Alexander Bezobchuk
4b354a782b
Merge PR #4840 : Various Updates for Gaia
2019-08-03 09:56:15 -04:00
colin axner
2e3c52bae1
Merge PR #4788 : Query genesis transactions
2019-08-01 14:56:50 -04:00
Federico Kunze
24b9e84a84
Merge PR #4784 : JSON representation of event stats
2019-07-26 13:09:15 -07:00
Federico Kunze
bfb6445b05
Merge PR #4757 : update x/genutil to match module spec
...
* reestructure genutil
* use auth and staking types packages
* cleanup
* rename pkg
* chacha cha
* update clog tags and pending
* address comments from code review
2019-07-24 17:37:03 -04:00
Alexander Bezobchuk
309dacc637
Merge PR #4768 : Sort JSON during migration
2019-07-23 13:08:46 -07:00
Alexander Bezobchuk
2a27ebc9ab
Merge PR #4767 : Sort genesis JSON before printing
2019-07-23 10:00:26 -07:00
Federico Kunze
e85a734a57
update x/genaccounts to match module spec ( #4759 )
2019-07-22 16:26:42 +01:00
Federico Kunze
a922dad346
Merge PR #4686 : v0.36 supply changes to genesis migration
2019-07-18 14:43:56 +02:00
Aayushi Jain
1a7f31f7c8
Merge PR #4678 : Clean YAML output
2019-07-05 19:25:56 -04:00
Alexander Bezobchuk
2fdbf631e7
Merge PR #4669 : v0.36 distribution genesis migration
2019-07-05 08:34:02 -04:00
Karoly Albert Szabo
00f753d684
Merge PR #4471 : Migrate genesis cmd
2019-07-03 12:21:34 -04:00
Marko
b2f8c58ec4
Merge PR #4608 : More linters - Gosec, staticcheck
2019-06-26 13:30:36 -07:00
Alexander Bezobchuk
67f6b02118
Merge PR #4541 : Events Tracking / Tendermint v0.32.0 Update
...
* Update Tendermint to v0.32.0-dev0
* Initial refactor of tags
* Update event types and add unit tests
* Refactor context
* Update module manager
* Update result godoc
* Implement ToABCIEvents
* Update BaseApp
* Minor cleanup
* Fix typo
* Update x/bank message handler
* Update x/bank keeper
* Update x/bank
* Update x/bank events docs
* Update x/crisis module events
* Reset context with events on each message exec
* Update x/distribution events and docs
* Update BaseApp to not set empty events manually
* Implement simple event manager
* Update module manager
* Update modules to use event manager
* Update x/gov module to use events
* Update events docs
* Update gov queries and crisis app module
* Update bank keeper
* Add events to minting begin blocker
* Update modules to use types/events.go
* Cleanup x/mint
* Update x/staking events
* Update x/staking events
* Update events to have sender part of message.sender
* Fix build
* Fix module unit tests
* Add pending log entry
* Update deps
* Update x/crisis/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/bank/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/distribution/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/internal/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/types/events.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/gov/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/mint/abci.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/slashing/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Update x/staking/handler.go
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
* Upgrade TM to v0.32.0-dev1
* Update events as strings
* Update Tendermint to v0.32.0-dev2
* Fix BaseApp unit tests
* Fix unit tests
* Bump tendermint version to v0.32.0
* typos
2019-06-26 18:03:25 +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
Alessio Treglia
73700df8c3
Merge PR #4555 : Move client/{tx,rest,utils} into x/auth/client
2019-06-15 14:34:11 +02:00
frog power 4000
8c89023e9f
Merge PR #4524 : Staking ValidatorPowerRank to use "Potential Consensus Power"
2019-06-12 17:57:47 +02: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
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