mergify[bot]
9acd722db2
x/distribution: simapp for testing ( #5725 )
...
* migrate first distribution test to use simapp
* refactor test TestAllocateTokensTruncation
* migrate allocation test for distribution
* migrate TestCalculateRewardsBasic to simapp in distribution
* migrate TestCalculateRewardsAfterSlash to simapp in distribution
* migrate TestCalculateRewardsAfterManySlashes to use simapp
* migrate TestCalculateRewardsMultiDelegator to use ssimapp
* migrate TestWithdrawDelegationRewardsBasic to simapp
* migrate TestCalculateRewardsAfterManySlashesInSameBlock to simapp
* migrate TestCalculateRewardsMultiDelegatorMultiSlash
* migrate old delegation test
* migrate keeper test to simapp
* refactor all distribution to use simapp
Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-03-05 14:00:45 +00:00
Jonathan Gimeno
0fc3950899
Merge branch 'jonathan/5569-create-module-account-on-init-genesis' of github.com:cosmos/cosmos-sdk into jonathan/5569-create-module-account-on-init-genesis
2020-03-05 13:34:03 +01:00
Jonathan Gimeno
ccb0062560
update changelog
2020-03-05 12:18:04 +01:00
Jonathan Gimeno
626cc1973d
update changelog
2020-03-05 12:17:18 +01:00
Jonathan Gimeno
0a93f01eb3
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis
2020-03-05 11:58:30 +01:00
Jonathan Gimeno
29abc244eb
make private methods that does not need to be exported
2020-03-05 11:56:39 +01:00
Jonathan Gimeno
e01c99d019
now it creates the module account on InitChain
2020-03-05 11:45:51 +01:00
Alessio Treglia
da5c6ced1d
types: add test cases ( #5747 )
...
Upgrade gomock dependency.
2020-03-04 17:49:59 +00:00
Alexander Bezobchuk
b9ab834732
Merge PR #5737 : x/gov - Proto Migration
2020-03-04 11:20:20 -05:00
Alexander Bezobchuk
0cbe4e5532
Update x/upgrade/types/types.proto
...
Co-Authored-By: Anil Kumar Kammari <anil@vitwit.com>
2020-03-04 09:27:50 -05:00
Aleksandr Bezobchuk
430739c2b8
Remove named return
2020-03-03 20:29:34 -05:00
Aleksandr Bezobchuk
94103b92d5
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-03 15:37:04 -05:00
Alexander Bezobchuk
274f389111
Merge PR #5745 : Remove internal folder in package Crisis
2020-03-03 15:27:06 -05:00
Aleksandr Bezobchuk
cd2febac28
Fix proto
2020-03-03 14:36:02 -05:00
Jonathan Gimeno
87012c7cc8
Merge branch 'jonathan/5646-remove-internal-crisis' of github.com:cosmos/cosmos-sdk into jonathan/5646-remove-internal-crisis
2020-03-03 20:07:47 +01:00
Jonathan Gimeno
f3607833c1
update proto file
2020-03-03 20:06:55 +01:00
Aleksandr Bezobchuk
d256e5a56f
Address feedback
2020-03-03 13:30:21 -05:00
Aleksandr Bezobchuk
463f522f44
Merge branch 'bez/5444-gov-proto-enc' of github.com:cosmos/cosmos-sdk into bez/5444-gov-proto-enc
2020-03-03 13:25:10 -05:00
Aleksandr Bezobchuk
3b8772725f
Address feedback
2020-03-03 13:24:54 -05:00
Alexander Bezobchuk
9aa2581dc5
Update CHANGELOG.md
...
Co-Authored-By: Aaron Craelius <aaron@regen.network>
2020-03-03 13:22:29 -05:00
Alexander Bezobchuk
b6e36b8aca
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-03 13:19:44 -05:00
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
79b04396a4
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-03 12:03:24 -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
Aleksandr Bezobchuk
04cf635c72
Add changelog entries
2020-03-03 10:32:43 -05:00
Aleksandr Bezobchuk
00180faa15
Proto lint & gen
2020-03-03 09:59:05 -05:00
Alexander Bezobchuk
e9dced87f8
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-03 09:40:57 -05:00
Aleksandr Bezobchuk
eedc6f6190
Fulfill MsgSubmitProposalI interface
2020-03-03 09:40:11 -05: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
Aleksandr Bezobchuk
05cef02b4d
Add MsgSubmitProposal back to codec
2020-03-02 17:24:10 -05:00
Aleksandr Bezobchuk
1a25cdae6f
Update tests
2020-03-02 17:21:00 -05:00
Jonathan Gimeno
2706854eff
refactor TestHandleAlreadyJailed to simapp
2020-03-02 22:54:38 +01:00
Aleksandr Bezobchuk
5f0c53da17
update tests
2020-03-02 16:46:28 -05:00
Aleksandr Bezobchuk
833368cc74
reintroduce old MsgSubmitProposal type
2020-03-02 16:29:10 -05:00
Aleksandr Bezobchuk
fe7b02231e
Update handler
2020-03-02 16:06:35 -05:00