cosmos-sdk/x/auth/types
Robert Zaremba 6bc8ff2dfe
Use any as validator pubkey (#7597)
* protobuf pubkey type update

* wip2

* wip3

* solving types.NewValidator issues

* remove bech32 from validator type assignment

* update Validator interface

* Changelog update

* wip4

* update genutil

* fix simapp & x/ibc/testing tests

* update staking

* changelog update

* fix import cycle in tests

* fix amino panic on TestValidatorMarshalUnmarshalJSON

* fix TestValidatorMarshalUnmarshalJSON consensus_pubkey check

* Add UnpackInterfaces to HistoricalInfo

* fix TestHistoricalInfo

* update todos

* fix: Expecting ed25519.PubKey to implement proto.Message

* fix linter issues

* Fix migrate test

* Update CHANGELOG.md

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* review comments

* cosmetic changes

* add UnpackInterfaces got GenesisRandomized test

* Validator.Equal reuses Validator.MinEqual

* fix test

* use Validator.Equal in tests

* Fix staking simulation TestRandomizedGenState

* Remove TODO

* use HistoricalInfo.Equal

* use proto.Equal

* rename Validator.GetConsPubKey to TmConsPubKey

* prefer require.Equal over reflect.DeepEqual

* SetHistoricalInfo using a pointer

* Fix TestQueryDelegation test

* Fix TestQueryValidators test

* Fix TestSimulateMsgUnjail test

* experiement with LegacyAmino instances

* Register codecs in all simapp tests

* Fix cli_test compilation problems

* fix typo sdk -> std

* fix typo

* fix TestPlanStringer

* Rename to MakeEncodingConfig

* Remove RegisterCodecsTests

* Use gRPC in GetCmdQueryValidators

* Empty status

* fix info log check

* linter fixes

* rename simapparams to simappparams

* Update simapp/test_helpers.go

Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>

* comments updates

* use valAddr1 instead of sdk.ValAddress(pk1.Address().Bytes())

Co-authored-by: Cory Levinson <cjlevinson@gmail.com>
Co-authored-by: Amaury Martiny <amaury.martiny@protonmail.com>
Co-authored-by: Marie Gauthier <marie.gauthier63@gmail.com>
2020-10-23 12:07:52 +00:00
..
account.go Refactor x/staking Validation and Delegation tests based on MsgCreateValidator.Pubkey type change. (#7526) 2020-10-19 13:04:55 +00:00
account_retriever.go client: add GetAccount and GetAccountWithHeight to AccountRetriever (#7558) 2020-10-15 14:19:57 +00:00
account_retriever_test.go Merge PR #7006: auth: Update AccountRetriever 2020-08-13 10:22:16 -04:00
account_test.go Update tm pubkey references (#7102) 2020-08-28 16:02:38 +00:00
auth.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
codec.go Add ADR 031 BaseApp and codec infrastructure (#7519) 2020-10-15 13:07:59 +00:00
common_test.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
expected_keepers.go Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
genesis.go Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
genesis.pb.go Protobuf Audit: Genesis states (#6978) 2020-08-12 15:48:22 +00:00
genesis_test.go Migrate BaseAccount PubKey to use Any (#7268) 2020-09-25 08:41:16 +00:00
keys.go Merge PR #5702: Add Param Querying to x/auth 2020-02-26 10:33:56 -05:00
params.go Remove DefaultParamspace and simplify simapp creation. (#6564) 2020-07-01 13:57:29 +00:00
params_test.go Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
permissions.go Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
permissions_test.go Move ModuleAccount to x/auth (#6029) 2020-04-20 19:32:10 +00:00
querier.go proto: Consistent naming for Params (#6803) 2020-07-21 14:04:51 +00:00
query.go Add cli test for query Account (#6973) 2020-08-17 13:47:31 +01:00
query.pb.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00
query.pb.gw.go Change `address` from bytes to bech32 strings (#7242) 2020-09-25 10:25:37 +00:00