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
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
Aaron Craelius
333066efa8
Fix distribution proto package
2020-02-26 20:16:48 -05:00
Aaron Craelius
feb8b0d4c3
Protogen fix
2020-02-26 20:15:32 -05:00
Aaron Craelius
2cf8a5e955
WIP on proposal proto
2020-02-26 20:15:00 -05:00
Aaron Craelius
830ada0fa4
WIP on StdProposal
2020-02-26 20:15:00 -05:00
Aaron Craelius
2e0033afcf
Update x/gov/types/codec.go
...
Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>
2020-02-26 20:15:00 -05:00
Aaron Craelius
38d44e839e
WIP on fixing tests
2020-02-26 20:15:00 -05:00
Aaron Craelius
d563248bbb
mv codec.proto -> types.proto
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
Aaron Craelius
56104c2961
Merge PR #5703 : Fix typo in distribution proto package name
2020-02-26 10:58:27 -05:00
Jonathan Gimeno
4de26fd67a
fix lint errors 2
2020-02-26 16:35:04 +01:00
Alexander Bezobchuk
8cab43c812
Merge PR #5702 : Add Param Querying to x/auth
2020-02-26 10:33:56 -05:00
Jonathan Gimeno
14469ccc74
fix lint errors
2020-02-26 16:29:48 +01:00
Jonathan Gimeno
c94a98f459
fix based on PR comments
2020-02-26 16:05:12 +01:00
Jonathan Gimeno
1d18f8839c
remove create test public keys
2020-02-26 15:57:41 +01:00
Jonathan Gimeno
64c2971c6f
remove test_common
2020-02-26 15:51:45 +01:00
Jonathan Gimeno
bbbbc61276
end refactor handler_test
2020-02-26 15:48:51 +01:00
Jonathan Gimeno
015fd43f51
refactor TestMultipleUnbondingDelegationAtUniqueTimes and TestUnbondingWhenExcessValidators
2020-02-26 15:44:15 +01:00
Jonathan Gimeno
9381500fbc
refactor TestMultipleRedelegationAtUniqueTimes and TestMultipleUnbondingDelegationAtSameTime
2020-02-26 15:39:56 +01:00
Jonathan Gimeno
4e16a0861c
refactor TestTransitiveRedelegation and TestMultipleRedelegationAtSameTime
2020-02-26 15:35:29 +01:00
Jonathan Gimeno
c58ec7f7b7
refactor TestUnbondingFromUnbondingValidator and TestRedelegationPeriod
2020-02-26 15:31:16 +01:00
Jonathan Gimeno
eb26b478b4
refactor TestUnbondingPeriod and TestValidatorQueue
2020-02-26 15:26:50 +01:00
Jonathan Gimeno
0fcf1e20d6
refactor TestJailValidator
2020-02-26 15:21:42 +01:00
Jonathan Gimeno
0e3b95857b
refactor TestMultipleMsgDelegate
2020-02-26 15:19:39 +01:00
Jonathan Gimeno
d251f6436e
refator TestMultipleMsgCreateValidator
2020-02-26 15:17:31 +01:00
Jonathan Gimeno
46d62ebfa9
refactor TestIncrementsMsgUnbond
2020-02-26 15:13:08 +01:00
Jonathan Gimeno
a07ed83dd2
refactor TestEditValidatorIncreaseMinSelfDelegationBeyondCurrentBond
2020-02-26 15:08:43 +01:00
Jonathan Gimeno
8ecd5b8954
refactor next
2020-02-26 15:06:52 +01:00
Jonathan Gimeno
3f319c2578
refactor TestIncrementsMsgDelegate
2020-02-26 15:04:40 +01:00
Jonathan Gimeno
ee21805282
refactor TestLegacyValidatorDelegations to use simapp
2020-02-26 14:52:34 +01:00
Jonathan Gimeno
c314b93789
temporary commit
2020-02-26 13:28:18 +01:00
Jonathan Gimeno
030f612b6c
refactor TestInvalidPubKeyTypeMsgCreateValidator
2020-02-26 12:23:55 +01:00
Jonathan Gimeno
59ecf11a12
refactor TestDuplicatesMsgCreateValidator
2020-02-26 11:36:37 +01:00
Jonathan Gimeno
315572bcd2
refactor TestValidatorByPowerIndex
2020-02-26 11:33:25 +01:00
Jonathan Gimeno
399ea763ee
refactor old genesis_test to use simapp
2020-02-26 10:47:39 +01:00