Commit Graph

506 Commits

Author SHA1 Message Date
Aleksandr Bezobchuk 43c0d0061a
Update changelog 2020-03-11 10:08:15 -04:00
Alessio Treglia 2de4775a25
types/rest: add unit tests (#5779)
* types/rest: add unit tests

Drop unused functions:
- ParseQueryParamBool()
- ParseInt64OrReturnBadRequest()

* Fix test

* Disable parallelism

* Reintroduce @fedekunze ParseQueryParamBool

* Don't count Name() calls to fix flaky tests
2020-03-10 18:53:25 +00:00
Aleksandr Bezobchuk ca93d575a9
Add changelog entries 2020-03-10 09:43:57 -04:00
Aleksandr Bezobchuk 2d5711ff14
Edit changelog entry 2020-03-05 23:31:30 -05:00
Jonathan Gimeno e45be08eb1 create module account on init for FeeCollectorName and tests for other module accounts 2020-03-05 22:11:05 +01:00
Jonathan Gimeno 626cc1973d update changelog 2020-03-05 12:17:18 +01:00
Alexander Bezobchuk 9aa2581dc5
Update CHANGELOG.md
Co-Authored-By: Aaron Craelius <aaron@regen.network>
2020-03-03 13:22:29 -05:00
Alexander Bezobchuk 79b04396a4
Merge branch 'master' into bez/5444-gov-proto-enc 2020-03-03 12:03:24 -05:00
Alessio Treglia bfac2a9342
fix types.ChainAnteDecorators() panic (#5742)
* fix types.ChainAnteDecorators() panic

ChainAnteDecorators() panics when no arguments are supplied.
This change its behaviour and the function now returns a nil
AnteHandler in case no AnteDecorator instances are supplied.

Closes: #5741

* Append Terminator to non-terminated chains.

* Fix test case
2020-03-03 16:57:33 +00:00
Aleksandr Bezobchuk 04cf635c72
Add changelog entries 2020-03-03 10:32:43 -05:00
seungyeon-hwang 70e829949c
crypto: print an error message if the password input failed (#5739) 2020-03-03 13:32:52 +00: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 e0d029388d
fix DiffKVStores(), store/types gets 100% coverage (#5730)
* fix DiffKVStores(), store/types gets 100% coverage

DiffKVStores() used to return duplicated entries
in some cases.

Add test cases, aiming to reach 100% coverage for
store package.

Remove duplicate Cp function from the store package.
Same functionality is provided by types.CopyBytes().

* More test cases

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-02 00:27:03 +00:00
Alexander Bezobchuk 25129309f1
Merge branch 'master' into jonathan/5684-prune-syncable 2020-02-28 09:51:14 -08:00
Alexander Bezobchuk 5c1c64bfae
Merge PR #5718: Return Empty GasInfo on Failed Msg Validation 2020-02-28 09:51:00 -08:00
Alexander Bezobchuk 56c08949a4
Merge branch 'master' into jonathan/5684-prune-syncable 2020-02-28 09:39:03 -08:00
Alessio Treglia 66f8e35b90
Build with go1.14 (#5719) 2020-02-28 12:26:11 +00:00
Jonathan Gimeno 191664bb30 fix issue number 2020-02-27 17:22:47 +01:00
Jonathan Gimeno 0a3fcf6d2d change section in changelog 2020-02-27 16:23:15 +01:00
Jonathan Gimeno 2dbd364d3b update changelog 2020-02-27 16:16:08 +01:00
Alexander Bezobchuk 8cab43c812
Merge PR #5702: Add Param Querying to x/auth 2020-02-26 10:33:56 -05:00
Aaron Craelius df65016694
Merge PR #5659: Migrate upgrade module to protobuf 2020-02-24 18:14:19 +01:00
Marko f7486b9395
Merge PR #5634: Protobuf - Migrate x/evidence 2020-02-24 17:05:21 +01:00
Anil Kumar Kammari 883c1a2bc1
Merge PR #5627: Regen Network/Slashing protobuf 2020-02-20 01:04:13 +01:00
Federico Kunze 4aa078b5f3
x/ibc ICS24 (#5588)
* x/ibc ICS24

* changelog

* move regex to /types

* address @alexanderbez comments

Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-19 10:56:22 +01:00
Alexander Bezobchuk 794a496892
Merge PR #5533: Protobuf: x/auth & x/supply 2020-02-18 13:50:13 +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
Marko 48d39e344e
Merge PR #5619: proto: migrate params to hybrid codec 2020-02-12 11:34:09 -05:00
Alexander Bezobchuk 77a47ca4a1
Merge PR #5633: Add v0.38.1 changelog entry 2020-02-11 12:14:00 -05:00
Marko 56c5868975
Merge PR #5610: proto: migrate x/distr to use hybrid codec 2020-02-11 09:58:37 -05:00
Chad Barraford e2d4b9de44
Merge PR #5497: ensure non-nil gentxs 2020-02-10 15:32:16 -05:00
Alexander Bezobchuk 7edd41439c
Merge PR #5629: Add v0.37.7 changelog entry 2020-02-10 11:03:31 -05:00
Alessio Treglia 6cbf634ad5
Merge PR #5620: Fix nil pointer deref in distribution tax/rewward validation helpers 2020-02-07 13:09:18 -05:00
Alexander Bezobchuk cd9b2d450b
Merge PR #5622: Track proposal handler events on success 2020-02-06 16:19:26 -05:00
Aditya dba80caec0
Merge PR #5579: Fix Restart application issue 2020-02-06 15:58:32 -05:00
Alexander Bezobchuk 53bf2271d5
Merge PR #5600: Migrate x/staking to Protobuf 2020-02-06 14:21:02 -05:00
Anthony b0c6c750df
Merge PR #5618: Add test of missing verifier in cli context 2020-02-06 10:27:23 -05:00
Alexander Bezobchuk ce16e0a99d
Merge PR #5597: Include Amount in Complete Unbonding/Redelegation Events 2020-01-31 11:12:04 -05:00
Alexander Bezobchuk 6890feb3d2
Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
Federico Kunze 5a0a36a8c9
Merge Pr #5585: client and types additions for IBC 2020-01-30 10:13:42 -05:00
Federico Kunze ec35cf2d91
Merge PR #5584: Staking additions for IBC 2020-01-29 08:35:49 -05:00
Alessio Treglia deea89e52c
Add convenience functions {,Must}Bech32ifyAddressBytes (#5581) 2020-01-29 10:48:53 +01:00
Miguel Dingli d5d29ef67a Merge PR #5557: Added amount event to InputOutputCoins for MsgMultSend 2020-01-27 09:46:55 -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
Alexander Bezobchuk f0912047cd
Merge PR #5563: Add v0.38.0 changelog 2020-01-23 15:25:39 -05:00
Alessio Treglia 1feb22c4f0
[keyring] support for kwallet, pass (#5560)
Add support for KDE Wallet service and the pass command line tool.
2020-01-23 16:48:00 +00:00
Alexander Bezobchuk f18005d2f1
Merge PR #5538: Refactor IAVL Pruning 2020-01-22 14:52:56 -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
Federico Kunze e37a6750ce Merge PR #5545: update CHANGELOG.md 2020-01-21 10:45:21 -05:00