Alexander Bezobchuk
c50dd15413
Merge branch 'master' into jonathan/5646-remove-internal-crisis
2020-03-03 13:04:33 -05:00
Alexander Bezobchuk
027fe7f982
Merge PR #5744 : Migrate slashing module to use new Simapp
2020-03-03 13:04:15 -05:00
Alexander Bezobchuk
87d3f217c4
Merge branch 'master' into jonathan/4875-slashing-use-simapp
2020-03-03 12:02:33 -05:00
Alessio Treglia
bfac2a9342
fix types.ChainAnteDecorators() panic ( #5742 )
...
* fix types.ChainAnteDecorators() panic
ChainAnteDecorators() panics when no arguments are supplied.
This change its behaviour and the function now returns a nil
AnteHandler in case no AnteDecorator instances are supplied.
Closes : #5741
* Append Terminator to non-terminated chains.
* Fix test case
2020-03-03 16:57:33 +00:00
Alexander Bezobchuk
e96ef63b61
Merge branch 'master' into jonathan/4875-slashing-use-simapp
2020-03-03 11:52:09 -05:00
Jonathan Gimeno
3517ebad4c
remove internal package folder
2020-03-03 17:45:02 +01:00
Jonathan Gimeno
78791f3c4e
clean part of the code
2020-03-03 17:21:17 +01:00
Jonathan Gimeno
c97a1b66ca
migrate TestJailedValidatorDelegations to simapp
2020-03-03 17:13:49 +01:00
Alessio Treglia
3349c971ae
increase types/module coverage up to 80% ( #5740 )
...
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-03-03 13:38:46 +00:00
seungyeon-hwang
70e829949c
crypto: print an error message if the password input failed ( #5739 )
2020-03-03 13:32:52 +00:00
Jonathan Gimeno
210d78b54d
refactor TestCannotUnjailUnlessMeetMinSelfDelegation to use simapp
2020-03-03 11:43:18 +01:00
Jonathan Gimeno
1da6f3c86e
refactor TestCannotUnjailUnlessJailed to use simapp
2020-03-03 11:28:22 +01:00
Jonathan Gimeno
24d25fa207
refactor abci test to use simapp
2020-03-03 11:25:32 +01:00
Jonathan Gimeno
2b95d5317e
refactor signing info test
2020-03-03 11:20:18 +01:00
Jonathan Gimeno
c2cc84950b
refactor TestGetSetValidatorSigningInfo test
2020-03-03 11:16:31 +01:00
Jonathan Gimeno
416f0147f7
refactor querier test
2020-03-03 11:14:22 +01:00
Jonathan Gimeno
0a5f64b64f
clean some code
2020-03-03 11:05:20 +01:00
Jonathan Gimeno
863dc1484e
make test pass
2020-03-03 10:51:06 +01:00
Jonathan Gimeno
2706854eff
refactor TestHandleAlreadyJailed to simapp
2020-03-02 22:54:38 +01:00
Jonathan Gimeno
a016524468
migrate TestHandleNewValidator to new simapp
2020-03-02 21:19:46 +01:00
Alexander Bezobchuk
e45feae647
Merge PR #5738 : Migrate Gov module to Simapp
2020-03-02 14:53:41 -05:00
Jonathan Gimeno
c0fd5cbda0
Merge branch 'master' into jonathan/4875-gov-use-simapp
2020-03-02 19:58:48 +01:00
Jonathan Gimeno
eba38af83d
end of gov refactoring
2020-03-02 19:56:29 +01:00
Jonathan Gimeno
e266c40ce1
refactor vote test
2020-03-02 19:50:39 +01:00
Jonathan Gimeno
894b2e5897
refactor old tally test
2020-03-02 19:46:39 +01:00
Jonathan Gimeno
275b78f1c3
add TestTallyJailedValidator to simapp
2020-03-02 19:25:05 +01:00
Jonathan Gimeno
7d3430673e
add tally test TestTallyDelgatorMultipleInherit
2020-03-02 19:17:31 +01:00
Jonathan Gimeno
8d4d10d27f
refactor TestTallyDelgatorMultipleOverride to use simapp
2020-03-02 18:52:45 +01:00
Jonathan Gimeno
73e1e3a354
refactor TestTallyDelgatorInherit to use simapp
2020-03-02 18:49:14 +01:00
Jonathan Gimeno
9f251885f1
migreate TestTallyDelgatorOverride to simapp
2020-03-02 18:08:40 +01:00
Jonathan Gimeno
46a70d58fa
migrate TestTallyOnlyValidatorsNonVoter to simapp
2020-03-02 18:01:10 +01:00
Jonathan Gimeno
759181c2cc
migrate TestTallyOnlyValidatorsAbstainFails into simapp
2020-03-02 17:59:24 +01:00
Jonathan Gimeno
b83755fc1d
migrate TestTallyOnlyValidatorsAbstainPasses to simapp
2020-03-02 17:57:39 +01:00
Jonathan Gimeno
c3b18dfb2f
migrate TestTallyOnlyValidatorsVetoed test
2020-03-02 17:55:31 +01:00
Alexander Bezobchuk
214cd2e648
Merge pull request #5735 : crypto: cleanup, more testing
2020-03-02 11:39:25 -05:00
Jonathan Gimeno
84b7fe5bfa
migrate TestTallyOnlyValidators51Yes to use simapp
2020-03-02 16:53:06 +01:00
Jonathan Gimeno
1cf4a7e330
migrate TestTallyOnlyValidators51No to use simapp
2020-03-02 16:50:39 +01:00
Jonathan Gimeno
88e3a22fc4
migrate TestTallyOnlyValidatorsAllYes to simapp
2020-03-02 16:47:06 +01:00
Jonathan Gimeno
e24734f72e
migrate TestTallyNoQuorum to use simapp
2020-03-02 16:41:41 +01:00
Jonathan Gimeno
8c0d32c8a8
migrate TestTallyNoOneVotes to use simapp
2020-03-02 16:38:24 +01:00
Jonathan Gimeno
80bfd0d2dc
migrate TestQueries to new test simapp
2020-03-02 16:22:36 +01:00
Jonathan Gimeno
2c231e2fa0
TestGetProposalsFiltered migrate to simapp
2020-03-02 16:10:19 +01:00
Jonathan Gimeno
00396145d5
migrate TestActivateVotingPeriod to simapp
2020-03-02 16:07:23 +01:00
Jonathan Gimeno
eedd2b2341
migrate part of proposal to simapp
2020-03-02 16:04:49 +01:00
Jonathan Gimeno
2afd22f37e
migrate TestProposalQueues to use simapp
2020-03-02 15:59:55 +01:00
Jonathan Gimeno
0c938123d9
migrate TestIncrementProposalNumber to simap
2020-03-02 15:56:26 +01:00
Jonathan Gimeno
3fa47df519
migrate test TestDeposits from gov to simapp
2020-03-02 15:52:43 +01:00
Alessio Treglia
9bd603ae88
crypto: cleanup, more testing
...
crypto.LedgerShowAddress() is a ledger specific function
and should takes acc address prefix instead of depending
on a sdk.Config singleton.
crypto/keys/mintkey:
- decryptPrivKey() return error instead of os.Exit()ing.
- encryptPrivKey() should panic instead of os.Exit() when
bcrypt.GenerateFromPassword() call fails so that the
caller is given a chance to recover().
crypto/keys:
- SignWithLedger() does not need to be method of
baseKeybase. Method receiver is unused.
- ledgerInfo objecta may be pointers, type switch
should handle both to avoid panics.
- keyringKeybase should not provide Update() at all.
More test cases are added to increase package crypto
and subpackages overall coverage.
2020-03-02 11:09:52 +00:00
Alexander Bezobchuk
f403cda2ce
Merge PR #5734 : Tweak mergify config
2020-03-01 20:51:45 -05:00
Alexander Bezobchuk
75e45b0926
Merge branch 'master' into alessio/mergify-approvers-no-greater-than-1
2020-03-01 19:33:43 -05:00