cosmos-sdk/x/staking/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 various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
decoder_test.go Move codec.RegisterCrypto and codec.Cdc to new packages (#6330) 2020-06-04 10:38:24 +00:00
genesis.go various linter fixes (#6106) 2020-05-02 21:26:59 +02:00
genesis_test.go bump versiion of ci linter fix (#6743) 2020-07-16 08:38:29 +00:00
operation_test.go x/staking/simulation/operations.go: add unit tests (#6690) 2020-07-12 01:56:28 +00:00
operations.go x/auth/ante: Migrate tests to use the new client.TxConfig (#6661) 2020-07-20 08:30:12 -04:00
params.go Update DefaultHistoricalEntries to 100 (#6059) 2020-04-23 15:06:30 +00:00
params_test.go Merge PR #6693: x/staking/simulation/params.go: add unit tests 2020-07-11 22:26:38 -04:00