cosmos-sdk/crypto
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
..
codec Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
hd x/ibc: fix missing return statement (#6099) 2020-04-29 22:36:34 -04:00
keyring client: fix signing algorithm (#6405) 2020-06-11 14:30:42 +00:00
types Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
amino.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
armor.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
armor_test.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
bcrypt_readme.md merge crypto/keys/mintkey into crypto/ (#5880) 2020-03-27 10:24:19 +01:00
encode_test.go Merge PR #5527: Bump Tendermint Version to v0.33.0 2020-01-16 13:46:51 -08:00
ledger_mock.go Enter the new keyring interface (#5904) 2020-04-08 11:38:28 +02:00
ledger_notavail.go Merge PR #3517: Increasing test coverage in keys/client package 2019-02-08 12:45:23 -08:00
ledger_real.go Merge PR #3811: Migrate repo to organization 2019-03-06 12:37:27 +01:00
ledger_secp256k1.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
ledger_test.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00