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
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
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
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
Jonathan Gimeno
7d3430673e
add tally test TestTallyDelgatorMultipleInherit
2020-03-02 19:17:31 +01:00
Alexander Bezobchuk
c0384a1b91
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 13:08:26 -05:00
Jonathan Gimeno
8d4d10d27f
refactor TestTallyDelgatorMultipleOverride to use simapp
2020-03-02 18:52:45 +01:00
Aleksandr Bezobchuk
31dc2729fc
Merge branch 'master' into bez/5444-gov-proto-enc
2020-03-02 12:50:32 -05:00
Aleksandr Bezobchuk
e2b72141bf
Update keeper
2020-03-02 12:49:32 -05:00
Jonathan Gimeno
73e1e3a354
refactor TestTallyDelgatorInherit to use simapp
2020-03-02 18:49:14 +01:00
Aleksandr Bezobchuk
725e2dc2b4
Update gov codec interface
2020-03-02 12:44:55 -05: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
Aleksandr Bezobchuk
081e62cb2d
Update codec
2020-03-02 11:54:43 -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
Aleksandr Bezobchuk
8f131e2e0c
Fix and updates gov proto types
2020-03-02 09:14:17 -05:00
Alessio Treglia
d7fd5b6a42
Replace defer with testing.T.Cleanup() ( #5732 )
2020-03-02 00:16:23 +00:00
Alessio Treglia
2ae25caa74
linter fixes ( #5733 )
...
* make .golangcy.yml work with Goland's Golint plugin
Explicitly disable all linters. Whitelist of enabled
plugins is already provided.
This would enable Goland users to user Golint plugin.
* fix deadcode warnings
* fix gocritic error
unslice: could simplify pkBytes[:] to pkBytes
2020-03-01 15:38:57 +00:00
Alexander Bezobchuk
9aa2088c23
Update x/staking/keeper/keeper.go
2020-02-28 09:59:06 -08:00
Jonathan Gimeno
2c32ff3ee4
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-28 10:58:16 +01:00
Anil Kumar Kammari
0b7449129a
Merge PR #5500 : Regen network/multistore upgrades
2020-02-27 22:26:04 -08:00
Jonathan Gimeno
60293dd2e6
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-27 17:51:14 +01:00
Jonathan Gimeno
d279066285
remove duplicated func
2020-02-27 16:47:59 +01:00
Alessio Treglia
5a2e59ebb2
Exclude proto files from format ( #5706 )
...
* Don't change proto files on make format
The format target does not need to depend on tools.
Thus remove dependency.
* Run make format
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-27 07:53:22 -03:00
Aaron Craelius
81735debe5
Fix proposal marshaling, make Proposal extend ProposalBase
2020-02-26 20:47:45 -05:00