cosmos-sdk/client
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
..
debug Merge PR #6595: Single Binary & Command Refactor 2020-07-07 11:40:46 -04:00
docs Merge PR #6426: Migrate API Server 2020-06-15 13:39:09 -04:00
flags Update x/{mint,slashing,evidence} cli to use gRPC query client (#6704) 2020-07-19 06:16:57 -04:00
input client/keys: make add command's output parseable (#6603) 2020-07-05 13:22:49 +02:00
keys testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
rpc Merge PR #6765: x/auth: Finish CLI Refactor 2020-07-17 16:20:45 -04:00
testutil x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
tx x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
account_retriever.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
broadcast.go refactor auths broadcast cmd in alignment with #6216 (#6713) 2020-07-17 17:17:21 +00:00
broadcast_test.go client: rename CliContext to Context (#6290) 2020-06-01 12:46:03 +00:00
cmd.go Merge PR #6765: x/auth: Finish CLI Refactor 2020-07-17 16:20:45 -04:00
cmd_test.go testutil: add ApplyMockIODiscardOutErr, simplify existing functions (#6665) 2020-07-10 08:55:48 +02:00
context.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
context_test.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04: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 x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
utils.go x/staking: cli migration to use gRPC query client (#6728) 2020-07-17 15:23:42 +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 testutil cleanup and reorg (#6658) 2020-07-09 14:21:20 +02:00