Federico Kunze
6a6fd1c7ac
patch auth register cdc ( #5892 )
...
* readd RegisterAccountTypeCodec
* fix
* remove seal
* update BaseAccount and StdSig to use amino codec
* remove comments
* rename
* changelog
* rename
2020-03-30 22:09:28 +00:00
Jonathan Gimeno
e5bde0199e
client: support offline flag in config command ( #5856 )
...
Update config hardcoded keys
Add test cases.
Co-authored-by: Alessio Treglia <alessio@tendermint.com>
2020-03-30 23:55:28 +02:00
Alessio Treglia
2a7a408d35
crypto/keyring: deprecate old keybase ( #5889 )
...
Remove the Update method from the Keybase interface.
Remove redundant lazy keybase implementation altogether.
Created LegacyKeybase interface to restrict capabilities to
only those required by keys commands that deal with
legacy keybase such as update and migrate.
Rename keyring.New() -> keyring.NewLegacy().
Rename client/keys.NewKeyBaseFromDir -> NewLegacyKeyBaseFromDir.
crypto/keyiring.NewInMemory() now returns a in-memory keyring.
BackendMemory is added yet not exposed via command line
--keyring-backend flag. keys add uses it when --dry-run flag
is on.
2020-03-30 20:30:50 +02:00
Alessio Treglia
db76afe840
crypto/keyring: change addrKey to store chain-agnostic addresses ( #5858 )
...
Keyrings store keys by name and hexbytes representation
of address. This turns keyring internal storage more
chain-agnostic and types.Config independent.
Obsolete Keybase internal state representation is not affected.
2020-03-30 16:54:01 +02:00
dependabot-preview[bot]
b6c45b76a7
Bump github.com/spf13/cobra from 0.0.6 to 0.0.7 ( #5891 )
...
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra ) from 0.0.6 to 0.0.7.
- [Release notes](https://github.com/spf13/cobra/releases )
- [Commits](https://github.com/spf13/cobra/compare/v0.0.6...0.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-30 10:49:54 -03:00
Alexander Bezobchuk
3c1ce5bc41
Merge PR #5887 : types/errors: make Wrap() work like github.com/pkg/errors.Wrap
2020-03-28 12:37:57 -04:00
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
Alexander Bezobchuk
77dd247a57
Merge PR #5885 : Added proto compatible x/slashing clients
2020-03-27 14:41:15 -04:00
Sahith Reddy Narahari
04c9730eab
Merge branch 'master' of github.com:cosmos/cosmos-sdk into sahith/slashing-tx-proto
2020-03-27 22:56:30 +05:30
Sahith Reddy Narahari
f4dd7f5a52
Did minor code cleanup
2020-03-27 22:55:56 +05:30
Alexander Bezobchuk
6878329ca4
Merge PR #5884 : move some sims to github actions
2020-03-27 13:19:40 -04:00
Sahith Reddy Narahari
32699c5985
Added proto compatible x/slashing clients
2020-03-27 21:21:53 +05:30
Marko Baricevic
a495e7daee
revert proto changes
2020-03-27 16:04:55 +01:00
Marko Baricevic
db39408c44
test pwd
2020-03-27 15:51:04 +01:00
Marko Baricevic
2d45935048
remove shell
2020-03-27 15:48:30 +01:00
Marko Baricevic
a4efd33488
move proto to github actions
2020-03-27 15:46:24 +01:00
Marko Baricevic
bb0922d564
fix circle
2020-03-27 15:43:01 +01:00
Marko Baricevic
72ceb5cc6c
remove make from proto
2020-03-27 15:42:27 +01:00
Marko Baricevic
2be5378d2a
cleanup redundant ci
2020-03-27 15:38:55 +01:00
Marko Baricevic
f7f8543dcb
add back multi seed long
2020-03-27 15:37:23 +01:00
Marko Baricevic
702c44ff6b
move some sims to github actions
2020-03-27 15:34:16 +01:00
Alessio Treglia
5db6d54825
merge crypto/keys/mintkey into crypto/ ( #5880 )
...
crypto/keys/mintkey provides only armoring functions.
It makes very little sense to keep it standalone and
under a name which does not really seem consistent with
the features it provides.
2020-03-27 10:24:19 +01:00
Alexander Bezobchuk
ad8652df89
Merge PR #5881 : exclude generated code from code coverage statistics
2020-03-26 19:58:44 -04:00
Alessio Treglia
fa7024d3e4
exclude generated code from code coverage statistics
...
.codecov.yml is not working. We should filter out all
generated code that we don't want to be included in
the coverage report.
2020-03-27 00:05:44 +01:00
Alexander Bezobchuk
6a9c8bcb78
Merge PR #5865 : Proto Client Migration: x/bank
2020-03-26 14:25:57 -04:00
Alexander Bezobchuk
fb599adb9b
Merge branch 'master' into bez/tx-client-proto-i
2020-03-26 14:03:48 -04:00
Alexander Bezobchuk
b4e0c33d8f
Merge PR #5873 : Update ADR 3: add ReleaseCapability
2020-03-26 14:03:38 -04:00
Aleksandr Bezobchuk
78fd300127
Fix bank tests
2020-03-26 13:50:34 -04:00
Aleksandr Bezobchuk
da400156c3
Fix tests
2020-03-26 12:50:39 -04:00
Aleksandr Bezobchuk
6135912e53
JSON Proto changes
2020-03-26 12:46:10 -04:00
Christopher Goes
07b8210dee
Update ADR 3: add ReleaseCapability
2020-03-26 16:40:57 +01:00
Alexander Bezobchuk
e4857898c0
Merge branch 'master' into bez/tx-client-proto-i
2020-03-26 11:11:32 -04:00
Alexander Bezobchuk
c77b2b90bb
Update docs/architecture/adr-020-protobuf-transaction-encoding.md
...
Co-Authored-By: Aaron Craelius <aaron@regen.network>
2020-03-26 11:11:03 -04:00
Alexander Bezobchuk
ec75027123
Merge PR #5871 : Add v0.38.2 Changelog
2020-03-25 19:27:37 -04:00
Alexander Bezobchuk
e98cb63d39
Update CHANGELOG.md
...
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-03-25 16:12:10 -04:00
Alexander Bezobchuk
7e78ce3198
Update CHANGELOG.md
...
Co-Authored-By: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-03-25 16:12:01 -04:00
Aleksandr Bezobchuk
2978de90e1
Fix MarshalIndentFromJSON
2020-03-25 15:59:29 -04:00
Aleksandr Bezobchuk
7310a0cca9
Fix build
2020-03-25 15:21:20 -04:00
Aleksandr Bezobchuk
75412d00f8
Rename to Println
2020-03-25 15:17:12 -04:00
Aleksandr Bezobchuk
6a33b424a6
Do not sanitize memo
2020-03-25 15:15:43 -04:00
Aleksandr Bezobchuk
e950dd34aa
Error when keybase is nil during Sign
2020-03-25 15:12:39 -04:00
Aleksandr Bezobchuk
3eb01e43be
Add changelog entries
2020-03-25 14:44:20 -04:00
Aleksandr Bezobchuk
f4e6bd6ad7
Fix build
2020-03-25 14:30:42 -04:00
Alexander Bezobchuk
37885b8d38
Merge branch 'master' into bez/tx-client-proto-i
2020-03-25 14:25:58 -04:00
Aleksandr Bezobchuk
3e0cf99e81
Finish remaining x/bank REST handlers
2020-03-25 14:23:34 -04:00
Aleksandr Bezobchuk
0e83e328d0
Prep QueryBalancesRequestHandlerFn for proto
2020-03-25 13:22:29 -04:00
Aleksandr Bezobchuk
17b68fb365
Prep PostProcessResponseBare and PostProcessResponse
2020-03-25 13:20:29 -04:00
Aleksandr Bezobchuk
3ecc461385
Implement and use MarshalIndentFromJSON
2020-03-25 13:03:14 -04:00
Aleksandr Bezobchuk
7e67d84c0e
Lint
2020-03-25 12:30:10 -04:00
Aleksandr Bezobchuk
d21020e0f8
Update x/bank CLI query commands
2020-03-25 12:27:03 -04:00