cosmos-sdk/codec
Amaury Martiny 5c0e3b4de5
x/auth/ante: Migrate tests to use the new client.TxConfig (#6661)
* WIP: using encoding config

* Make it compile, test fails

* test should be okay

* Make tests pass

* Add comments

* Convert more tests

* Make TestAnteHandlerSigErrors work

* Make first 2 tests pass

* TestAnteHandlerAccountNumbers

* Use table tests

* Remove print

* Use test table

* TestAnteHandlerSigErrors

* TestAnteHandlerAccountNumbers

* TestAnteHandlerAccountNumbers

* Refactor TestAccount

* Refactor getSignBytes

* TestAnteHandlerAccountNumbersAtBlockHeightZero

* TestAnteHandlerSequences

* TestAnteHandlerFees

* TestAnteHandlerMultiSigner

* TestAnteHandlerBadSignBytes

* TestAnteHandlerSetPubKey

* TestAnteHandlerSigLimitExceeded

* TestCustomSignatureVerificationGasConsumer

* TestAnteHandlerReCheck

* Make all tests pass

* Refactor a little bit more

* Fee test

* SetupTest

* All tests pass

* Refactor to RunTestCase

* Don't use StdFee

* Revert some little stuff

* Finish up last couple of test cases

* Less verbose

* s/TxGenerator/TxConfig

* Add comments

* Indent

* Move KeyTestPubAddr to testdata

* Move testdata to /testutil

* Revert to use signature: nil step in signing

* Add comments

Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-07-20 08:30:12 -04:00
..
legacy Simapp Localnet (#6421) 2020-06-12 16:23:08 +00:00
types x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
amino.go codec: add as much visible coverage (#6670) 2020-07-10 13:01:25 +02:00
amino_codec.go Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
amino_codec_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
any.go Add amino compatibility layer for proto Any (#6151) 2020-05-06 20:47:03 +00:00
any_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
codec.go Merge PR #6076: Proto Any init + evidence 2020-05-05 10:28:20 -04:00
hybrid_codec.go Merge PR #6076: Proto Any init + evidence 2020-05-05 10:28:20 -04:00
hybrid_codec_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
json.go codec: remove unused and untest ProtoMarshalJSONIndent (#6668) 2020-07-10 14:33:35 +02:00
proto_codec.go Add support for protobuf TxGenerator and SIGN_MODE_DIRECT (#6385) 2020-07-06 17:03:45 +00:00
proto_codec_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00