cosmos-sdk/x/auth/keeper
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
..
account.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
grpc_query.go x/auth: gRPC query service (#6565) 2020-07-08 13:12:38 +02:00
grpc_query_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
integration_test.go Merge PR #4896: Refactor auth tests 2019-08-15 11:19:16 -04:00
keeper.go Update x/auth to use Any (#6165) 2020-05-20 19:21:00 +00:00
keeper_bench_test.go Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
keeper_test.go x/auth: gRPC query service (#6565) 2020-07-08 13:12:38 +02:00
params.go Merge PR #4760: update x/auth to match module spec 2019-07-29 08:27:01 -07:00
querier.go x/auth: gRPC query service (#6565) 2020-07-08 13:12:38 +02:00
querier_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00