cosmos-sdk/client
Aaron Craelius 2f44fbf2ab
Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385)
* Add TxWrapper, encoder, decoder and DirectModeHandler

* fix pkg name

* Update API and leave test TODO's

* Update TxWrapper API

* tests for tx wrapper (#6410)

* WIP: added test for direct mode handler

* updated code

* Add msg

* Update TxWrapper API

* Fix pubkey declaration

* Add pubkey for tests

* Fix SetFee

* Remove logs

* Avoid global var declaration for tests

* Add test for GetPubKeys

* Fix direct signing tests

* Add more test cases for GetSignBytes

* Revert SetFee API

* Remove logs

* Refactor tests

Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>

* Refactoring

* Refactoring

* Integrate SignatureV2 API

* Fix wrapper tests

* Fix tests

* Linting and API tweaks

* Update API

* WIP on updating API

* Fix tests

* Update to new SigVerifiableTx

* Rename

* Update docs to reflect ADR 020

* proto-gen

* proto docs

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* Add tests

* Refactor and improving test coverage

* WIP on test coverage

* WIP on test coverage

* proto-gen

* Fix CompactBitArray.Size() bug

* Rename

* Remove Builder interface

* Address review comments

* Update x/auth/tx/sigs.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/auth/tx/encoder.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Update x/auth/tx/encoder.go

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>

* Address review feedback

* Fix build issues

* Resolve conflicts

* Fix ValidateBasic test coverage

* Add test for malicious multisig

Co-authored-by: atheeshp <59333759+atheeshp@users.noreply.github.com>
Co-authored-by: anilCSE <anil@vitwit.com>
Co-authored-by: sahith-narahari <sahithnarahari@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-07-06 17:03:45 +00:00
..
debug Merge PR #5495: Replace Redundant Bech32 PubKey Functions 2020-01-09 09:04:28 -05:00
docs Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
flags Merge PR #6525: x/bank: Refactor CLI & Tests 2020-06-30 16:59:21 -04:00
input client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
keys client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
rpc Merge PR #6525: x/bank: Refactor CLI & Tests 2020-06-30 16:59:21 -04:00
testutil Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
tx Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
account_retriever.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
broadcast.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
broadcast_test.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
cmd.go Use Context in Command instead of Argument + Util (#6572) 2020-07-02 13:02:28 +00:00
cmd_test.go Use Context in Command instead of Argument + Util (#6572) 2020-07-02 13:02:28 +00:00
context.go Add proper support for Any in gRPC queries (#6594) 2020-07-03 16:42:12 +00:00
context_test.go Fix testdata proto-gen (#6568) 2020-07-01 15:26:29 +00:00
errors.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
grpc_query.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
query.go Merge PR #6399: SDK Telemetry 2020-06-16 11:11:02 -04:00
test_helpers.go Migrate x/auth cmd's to TxGenerator marshaling (#6391) 2020-06-18 20:29:41 +00:00
tx_generator.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
utils.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00
utils_test.go client: fix Paginate's arguments validation (#6205) 2020-05-13 13:14:43 +00:00
verifier.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
verifier_test.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00