cosmos-sdk/x/auth/tx
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
..
builder.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
builder_test.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
config.go Wrap ProtoCodec in interface (#7637) 2020-10-27 13:53:54 +00:00
config_test.go Proto Tx with Any (#7276) 2020-09-21 16:48:28 +00:00
decoder.go Wrap ProtoCodec in interface (#7637) 2020-10-27 13:53:54 +00:00
direct.go Implement gRPC Simulate endpoint (#7035) 2020-08-24 14:41:08 +00:00
direct_test.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
encode_decode_test.go Add ADR 031 BaseApp and codec infrastructure (#7519) 2020-10-15 13:07:59 +00:00
encoder.go Wrap ProtoCodec in interface (#7637) 2020-10-27 13:53:54 +00:00
legacy_amino_json.go Robert/move amino stdtx (#7301) 2020-09-22 14:35:18 +00:00
legacy_amino_json_test.go Robert/move amino stdtx (#7301) 2020-09-22 14:35:18 +00:00
mode_handler.go Reject unknown fields in TxDecoder and sign mode handlers (#6883) 2020-08-03 19:47:25 +00:00
service.go Add tx broadcast gRPC endpoint (#7852) 2020-12-02 17:50:40 +00:00
service_test.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
sigs.go Clean Any interface (#8167) 2020-12-18 14:55:25 +00:00
sigs_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00