Commit Graph

56 Commits

Author SHA1 Message Date
Aleksandr Bezobchuk 4dac1abebf
Update imports 2020-03-05 09:40:43 -05:00
Aleksandr Bezobchuk 430739c2b8
Remove named return 2020-03-03 20:29:34 -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 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
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 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
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
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 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
Aaron Craelius 38d44e839e WIP on fixing tests 2020-02-26 20:15:00 -05:00
Aaron Craelius 3919645e8b Rename GovCodec to gov.Codec 2020-02-26 20:15:00 -05:00
Aaron Craelius e8155d67d0 Simple refactoring of gov to use protobuf for store encoding (for everything besides proposal) 2020-02-26 20:15:00 -05:00
Marko ebbfaf2a47
Merge PR #5681: proto: migrate bank to hybridcodec 2020-02-20 15:24:26 +01:00
Jonathan Gimeno 434f539bff
Merge PR #5649: Update x/params to follow module standards 2020-02-19 12:52:20 +01:00
Alexander Bezobchuk 794a496892
Merge PR #5533: Protobuf: x/auth & x/supply 2020-02-18 13:50:13 +01:00
Marko 48d39e344e
Merge PR #5619: proto: migrate params to hybrid codec 2020-02-12 11:34:09 -05:00
Alexander Bezobchuk 53bf2271d5
Merge PR #5600: Migrate x/staking to Protobuf 2020-02-06 14:21:02 -05:00
Alexander Bezobchuk 6890feb3d2
Merge PR #5572: ADR 004 Implementation 2020-01-30 16:31:16 -05:00
Alexander Bezobchuk c1991e31bd Merge PR #5527: Bump Tendermint Version to v0.33.0
* Bump Tendermint version to v0.33.0

* Deprecate old cmn package with new packages

* Update update DB APIs

* More DB updates

* Bump IAVL to v0.13.0

* Handle error returned by iavl.NewMutableTree

* Fix some IAVL stuffs

* Update IAVL

* More updates

* Passing tests

* Fix unit tests

Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-01-16 13:46:51 -08:00
Ferenc Fabian 066dd1114f Merge PR #5449: Add New constructor for the DecCoin 2020-01-03 15:44:53 -05:00
Alexander Bezobchuk 9a183ffbcc
Merge PR #5421: Refactor Error Handling 2019-12-27 12:57:54 -05:00
Dmitry Shulyak cf4645213d Merge PR #5405: Queries to /gov/proposals/{proposalID}/votes support pagination 2019-12-18 13:15:37 -05:00
Riccardo Montagnin 5af6bd77aa Merge PR #5248: Ensure all the empty arrays return an empty slice 2019-10-28 10:09:04 -04:00
Alexander Bezobchuk 84621bbd53
Merge PR #5216: Fix Query Gov Proposals Pagination 2019-10-18 12:46:21 -04:00
var 0ea8c3270e Merge PR #5107: Sum validator operator's all voting power 2019-10-18 12:38:23 -04:00