cosmos-sdk/x/gov/simulation
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
..
decoder.go Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
decoder_test.go Update x/gov to use Any (#6147) 2020-05-19 20:17:29 +00:00
genesis.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
genesis_test.go x/gov/simulation/genesis.go: add unit tests (#6739) 2020-07-16 08:45:45 +00:00
operations.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
operations_test.go x/gov/simulation/operations.go: add unit tests (#6723) 2020-07-15 05:44:53 -04:00
params.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
params_test.go x/gov/simulation/params.go: add unit tests (#6738) 2020-07-19 21:57:14 +00:00
proposals.go Remove dependency of types/module package on x/simulation (#5835) 2020-03-23 12:55:44 +01:00
proposals_test.go x/gov/simulation/proposals.go: add unit tests (#6737) 2020-07-16 08:56:18 +00:00