Alessio Treglia
0ba4e3a630
types/errors: make Wrap() work like github.com/pkg/errors.Wrap
...
Wrap(ErrInsufficientFunds, "40 < 500") returns strings like
"insufficient funds: 40 < 50". Although he function syntax
fits perfectly SDK app developers use case and as such it
should not be changed, the interface is still counter-intuitive
as most Golang developers may reasonably expect a different
result similar to what other popular libraries' (see [1])
would produce (e.g. "40 < 500: insufficient funds").
Follow up PR of #5876 .
[1] https://godoc.org/github.com/pkg/errors#Wrapf
2020-03-28 00:19:44 +01: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
da5c6ced1d
types: add test cases ( #5747 )
...
Upgrade gomock dependency.
2020-03-04 17:49:59 +00:00
Alexander Bezobchuk
a63de303b8
Merge PR #5665 : Bump Module ABCI Error Codes
2020-02-18 14:43:00 +01:00
Ferenc Fabian
67c2acd75a
Merge PR #5484 : Add errors.Is support to the wrappedError
2020-01-08 13:41:10 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Alexander Bezobchuk
95ddc242ad
Merge PR #5240 : x/evidence module implementation
2019-11-06 14:08:02 -07:00
Marko
b9490f2d93
Merge PR #5203 : Add more linters
2019-10-17 09:47:35 -04:00
Marko
936cffef40
Merge PR #5055 : Added Prealloc, Gosec, Golint linters
2019-09-17 12:13:26 -04:00
Marko
3a4f1fc4d4
Merge PR #4881 : Linting Galore
2019-08-19 12:06:27 -04:00
colin axner
3eac2707b2
Merge PR #4908 : Various goreport fixes
2019-08-15 09:54:10 -04:00
Ethan Frey
68dd969b4d
Merge PR #4821 : Port weave errors package
2019-07-31 12:37:11 -04:00