cosmos-sdk/x/staking
Robert Zaremba b18a033a17
Clean Any interface (#8167)
* Clean Any interface

+ removed Any.Pack method. This method is not needed, because we have specialized
  functions for createing new Any values. It could be used inappropriately with existing
  Any objects.

* removed deprecated PackAny function

* fix linter issue

* update nil handling

* NewAnyWithValue returns error on nil instead of panic

* NewMsgCreateValidator: handle nil pubkey

* Remove AsAny and tx builder workarounds

* fix linter issue

* Add AsAny methods to TxBuilder and StdTxConfig, but keep intoAny interface private

* remove tx.PubKeyToAny

* cosmetic updates

* fix method interface

* move ProtoTxProvider to x/auth/tx
2020-12-18 14:55:25 +00:00
..
client Update default historical header number for stargate (#8178) 2020-12-17 19:50:03 +00:00
exported Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
keeper Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
legacy Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
simulation Update default historical header number for stargate (#8178) 2020-12-17 19:50:03 +00:00
spec Use enum instead of int32 for BondStatus (#7499) 2020-10-12 13:56:02 +00:00
teststaking Merge branch 'master' of github.com:cosmos/cosmos-sdk into fix_power_reduction_test_cast_int64 2020-11-12 02:52:59 +10:00
types Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
abci.go Merge PR #6761: telemetry: use UTC() in wrappers 2020-07-17 15:33:50 -04:00
app_test.go simapp: rename MakeEncodingConfig to MakeTestEncodingConfig (#7681) 2020-10-27 11:33:48 +00:00
common_test.go set PowerReduction=10^18 for staking tests 2020-11-12 01:48:42 +10:00
genesis.go Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
genesis_test.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
handler.go Refactor x/staking according to ADR 031 (#7556) 2020-10-16 14:53:49 +00:00
handler_test.go Rename GRPCRouter (#8079) 2020-12-04 15:06:50 +00:00
module.go Rename RegisterGRPCRoutes (#7696) 2020-10-28 11:39:49 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00