cosmos-sdk/x/auth
Alessio Treglia a1feca39c2
Enter the new keyring interface (#5904)
crypto/keyring:

`Keybase` interface gives way to its successor: `Keyring`. `LegacyKeybase`
interface is added in order to guarantee limited backward compatibility with
the old `Keybase` interface for the sole purpose of migrating keys across
the new keyring backends.

The package no longer depends on the `github.com/types.Config`
singleton.

`SupportedAlgos` and `SupportedLedgerAlgos` methods have been removed.
The keyring just fails when trying to perform an action with an unsupported
algorithm.

crypto/ subdirs reorganization:

`crypto/keys/hd` was moved to `crypto/hd`, which now groups together
all HD wallets related types and utilities.

client/input:

* Removal of unnecessary `GetCheckPassword`, `PrintPrefixed` functions.
* `GetConfirmation`'s signature changed to take in a io.Writer for better integration
  with `cobra.Command` types.

client/context:

* In-memory keyring is allocated in the context when `--gen-only` flag is passed
  in. `GetFromFields` does no longer silently allocate a keyring, it takes one as
  argument.

Co-authored with @jgimeno

Co-authored-by: Jonathan Gimeno <jgimeno@gmail.com>
2020-04-08 11:38:28 +02:00
..
ante Fix IncrementSequenceDecorator (#5950) 2020-04-07 18:32:37 +00:00
client Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
exported Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
keeper lint: various linting fixs (#5825) 2020-03-20 19:24:18 +00:00
legacy Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
simulation Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
spec Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
types Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
vesting Update imports 2020-03-05 09:40:43 -05:00
alias.go Update ADR and types 2020-03-12 15:35:22 -04:00
genesis.go create module account on init for FeeCollectorName and tests for other module accounts 2020-03-05 22:11:05 +01:00
module_test.go create module account on init for FeeCollectorName and tests for other module accounts 2020-03-05 22:11:05 +01:00
module.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00