Alexander Bezobchuk
88d01a9869
Remove redundant staking APIs ( #5755 )
2020-03-06 13:40:50 +00:00
Jonathan Gimeno
5c4ace2548
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 22:11:35 +01:00
Jonathan Gimeno
e45be08eb1
create module account on init for FeeCollectorName and tests for other module accounts
2020-03-05 22:11:05 +01:00
Jonathan Gimeno
b813e8965f
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis
2020-03-05 17:15:35 +01:00
Jonathan Gimeno
ba099998f6
Clarify what happens with GetModuleAccount method.
2020-03-05 16:36:36 +01:00
Jonathan Gimeno
60031bbc9b
re-public methods
2020-03-05 16:19:36 +01:00
Jonathan Gimeno
643b109826
change assert by require
2020-03-05 16:15:53 +01:00
Federico Kunze
e0b5413861
Merge branch 'master' into jonathan/5569-create-module-account-on-init-genesis
2020-03-05 11:41:06 -03:00
Aleksandr Bezobchuk
4dac1abebf
Update imports
2020-03-05 09:40:43 -05:00
Aleksandr Bezobchuk
3f2f4b984e
Move pkg to std/
2020-03-05 09:32:43 -05:00
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
ccb0062560
update changelog
2020-03-05 12:18:04 +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
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
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
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
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
00180faa15
Proto lint & gen
2020-03-03 09:59:05 -05:00
Aleksandr Bezobchuk
eedc6f6190
Fulfill MsgSubmitProposalI interface
2020-03-03 09:40:11 -05: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
Aleksandr Bezobchuk
fb42f8b2a0
types updates
2020-03-02 15:50:20 -05:00
Jonathan Gimeno
a016524468
migrate TestHandleNewValidator to new simapp
2020-03-02 21:19:46 +01:00
Aleksandr Bezobchuk
81830807e7
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 15:07:51 -05:00
Aleksandr Bezobchuk
7562c2765a
Update gov types
2020-03-02 14:13:42 -05:00
Aleksandr Bezobchuk
a89eb77841
Add equal option to upgrade proto types
2020-03-02 14:10:27 -05: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