cosmos-sdk/x/auth
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
..
ante Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
atlas x/auth: atlas manifest (#8140) 2020-12-10 17:02:29 +01:00
client Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
keeper Move and update codec.MarshalAny functions to codec.Marshaler interface (#8080) 2020-12-08 09:27:08 +00:00
legacy Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
signing Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
simulation Use any as validator pubkey (#7597) 2020-10-23 12:07:52 +00:00
spec docs: Revert SPEC-SPEC and update x/{auth,bank,evidence,slashing} (#7407) 2020-10-16 12:42:48 +00:00
testutil Replace tmcrypto.PubKey by our own cryptotypes.PubKey (#7419) 2020-11-09 16:01:43 +00:00
tx Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
types Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
vesting Combine client.ReadTxCommandFlags with GetClientContextFromCmd (#8155) 2020-12-14 22:09:51 +00:00
genesis.go Enable proto JSON for genesis (#7000) 2020-08-11 14:22:30 +00:00
module.go [docs]: update building modules section to reflect ADR31 (#7702) 2020-11-17 20:41:43 +00:00
module_test.go tendermint: update to rc3 (#6892) 2020-08-14 13:58:53 -04:00