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
Alexander Bezobchuk
ec39bb3b42
Merge PR #5696 : Fix x/auth proto json tags
2020-02-25 15:22:28 -05:00
Jonathan Gimeno
194b97b1c1
git remove unused vars
2020-02-25 17:33:18 +01:00
Jonathan Gimeno
13f2138989
Merge branch 'master' into jonathan/4875-staking-test-use-simapp
2020-02-25 15:48:13 +01:00
Jonathan Gimeno
a44bebc11c
rename commont test
2020-02-25 15:31:22 +01:00
Jonathan Gimeno
b931c491ae
rename
2020-02-25 15:29:53 +01:00
Jonathan Gimeno
632e65f575
move methods
2020-02-25 15:27:51 +01:00
Jonathan Gimeno
8f779b12b8
clean code
2020-02-25 15:11:52 +01:00
Jonathan Gimeno
9ae53260bf
end refactoring validator_test
2020-02-25 14:07:01 +01:00
Jonathan Gimeno
b4ab8e5e07
refactor TestFullValidatorSetPowerChange test
2020-02-25 13:54:55 +01:00
Jonathan Gimeno
96216c3dac
make test TestValidatorBondHeight pass
2020-02-25 13:51:48 +01:00
Jonathan Gimeno
99554926e8
refctor TestGetValidatorsEdgeCases to use simapp
2020-02-25 13:45:29 +01:00
Jonathan Gimeno
c7d68c59a9
refactor TestGetValidatorSortingMixed test to simap
2020-02-25 13:38:27 +01:00
Jonathan Gimeno
460619fa29
refactro TestGetValidatorSortingUnmixed to simapp
2020-02-25 13:27:05 +01:00
Jonathan Gimeno
9fa658c3f9
TestValidatorBasics
2020-02-25 13:23:22 +01:00
Jonathan Gimeno
ed401119e4
refactor TestSlashToZeroPowerRemoved
2020-02-25 13:18:49 +01:00
Jonathan Gimeno
385c5c556b
refactor TestUpdateBondedValidatorsDecreaseCliff to simapp
2020-02-25 11:59:15 +01:00
Jonathan Gimeno
25681ad3ad
refacor TestUpdateValidatorByPowerIndex to use simapp
2020-02-25 11:54:43 +01:00
Jonathan Gimeno
66abd1f19f
refactor first test validation to simapp
2020-02-25 11:43:51 +01:00
Jonathan Gimeno
0cddd4fff6
end refactoring slash_test
2020-02-25 10:32:53 +01:00
Jonathan Gimeno
15eaa129ee
refactor TestSlashWithRedelegation
2020-02-25 10:24:58 +01:00
Jonathan Gimeno
a6767d31fe
migrated two tests from slash_test to use simapp
2020-02-25 10:13:13 +01:00
Jonathan Gimeno
b36cdac3e3
test TestSlashAtNegativeHeight migrated to simapp
2020-02-24 19:01:55 +01:00
Jonathan Gimeno
7ee50eacf2
refactor TestSlashAtFutureHeight test
2020-02-24 18:43:51 +01:00
Jonathan Gimeno
3ea53f5682
refactor TestSlashRedelegation to use simapp
2020-02-24 18:41:01 +01:00
Jonathan Gimeno
a34575a8bb
fix TestSlashUnbondingDelegation test to use simapp
2020-02-24 18:30:30 +01:00
Aaron Craelius
df65016694
Merge PR #5659 : Migrate upgrade module to protobuf
2020-02-24 18:14:19 +01:00
Jonathan Gimeno
fe1012dc29
migrate revocation of old slash test
2020-02-24 17:34:22 +01:00
Marko
f7486b9395
Merge PR #5634 : Protobuf - Migrate x/evidence
2020-02-24 17:05:21 +01:00
Jonathan Gimeno
3910ec25f6
refactor and remove unused code
2020-02-24 16:14:16 +01:00
Jonathan Gimeno
17ee1f510a
finish refactor delegation test
2020-02-24 15:37:03 +01:00
Jonathan Gimeno
a1fcb07d0f
refactor TestRedelegateFromUnbondingValidator to use simapp
2020-02-24 15:28:25 +01:00
Jonathan Gimeno
5bf1fa0048
refactor delegation test
2020-02-24 15:11:37 +01:00
Jonathan Gimeno
ae44324d5a
refacotr TestRedelegationMaxEntries to use simapp
2020-02-24 15:06:12 +01:00
Jonathan Gimeno
27e20236a3
refactor TestRedelegateToSameValidator to use simapp
2020-02-24 13:16:32 +01:00
Jonathan Gimeno
e33844fa56
refactor TestRedelegation to use simapp
2020-02-24 13:11:18 +01:00
Jonathan Gimeno
9a5aae9f0e
refactor TestGetRedelegationsFromSrcValidator to use simapp
2020-02-24 12:50:02 +01:00
Jonathan Gimeno
62dbd8bcee
TestUnbondingAllDelegationFromValidator to use simapp
2020-02-24 12:46:14 +01:00
Jonathan Gimeno
6ce12184d4
refactor TestUndelegateFromUnbondedValidator to use simapp
2020-02-24 12:37:32 +01:00
Jonathan Gimeno
bbc2b33f7d
update TestUndelegate from unbonding validator and fix bug
2020-02-24 12:24:25 +01:00
Jonathan Gimeno
8378be277c
refactor TestUndelegateSelfDelegationBelowMinSelfDelegation to use simapp
2020-02-21 21:18:24 +01:00
Jonathan Gimeno
8cf9219a53
refactor test unbondingdelegationsmax entries
2020-02-21 21:05:56 +01:00
Jonathan Gimeno
e5b67801a3
refactor to use accounts
2020-02-21 20:51:11 +01:00
Jonathan Gimeno
ee7ccc3704
make TestDelegation pass with generated accounts
2020-02-21 19:34:07 +01:00
Jonathan Gimeno
89785765e0
comment before creating new way to generate accounts
2020-02-21 19:19:57 +01:00
Jonathan Gimeno
01aaf8446d
refactor creation of simapp
2020-02-21 18:54:10 +01:00
Jonathan Gimeno
e155b1083d
refactor creation of the simapp
2020-02-21 18:49:54 +01:00
Jonathan Gimeno
594e0a6bfa
avoid usage of historicals
2020-02-21 18:38:28 +01:00
Jonathan Gimeno
27ff208fb8
make all test pass temporary
2020-02-21 18:34:03 +01:00
Jonathan Gimeno
9eaa5b0e1a
refactor delegation test TestUnbondDelegation to use simapp
2020-02-21 12:24:41 +01:00
Alexander Bezobchuk
238928ed50
Merge PR #5688 : Proto Option Updates
2020-02-21 11:31:16 +01:00
Jonathan Gimeno
fdba5b5904
finish keeper refactor for querier in staking using simapp
2020-02-20 18:10:37 +01:00
Jonathan Gimeno
32a27afbd5
make TestQueryRedelegations pass with simapp
2020-02-20 17:58:17 +01:00
Jonathan Gimeno
06c144805d
rename function
2020-02-20 17:30:45 +01:00
Jonathan Gimeno
29987a095b
make TestQueryDelegations pass with simapp :D
2020-02-20 17:30:13 +01:00
Alexander Bezobchuk
9b47079171
Merge PR #5682 : Change pubkey to bytes
2020-02-20 17:15:22 +01:00
Jonathan Gimeno
0d24d2b2cb
fix test query validators
2020-02-20 16:09:25 +01:00
Marko
ebbfaf2a47
Merge PR #5681 : proto: migrate bank to hybridcodec
2020-02-20 15:24:26 +01:00
Anil Kumar Kammari
883c1a2bc1
Merge PR #5627 : Regen Network/Slashing protobuf
2020-02-20 01:04:13 +01:00
Jonathan Gimeno
434f539bff
Merge PR #5649 : Update x/params to follow module standards
2020-02-19 12:52:20 +01:00
Federico Kunze
4aa078b5f3
x/ibc ICS24 ( #5588 )
...
* x/ibc ICS24
* changelog
* move regex to /types
* address @alexanderbez comments
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-19 10:56:22 +01:00
Jonathan Gimeno
cdcbecb2f4
rename and temp commit
2020-02-19 10:53:43 +01:00
Xuefeng Zhu
69c5b46413
Get Uin64 directly instead of Int64 ( #5672 )
2020-02-19 10:05:27 +01:00
Jonathan Gimeno
7f8d0e6047
commit end of day refactoring
2020-02-18 19:10:53 +01:00
Alexander Bezobchuk
1736692f3b
Merge PR #5668 : Fix GetAccountWithHeight
2020-02-18 16:53:11 +01:00
Jonathan Gimeno
c84c5922e4
temporal commit on querier test, it passes
2020-02-18 16:44:23 +01:00
Alexander Bezobchuk
a63de303b8
Merge PR #5665 : Bump Module ABCI Error Codes
2020-02-18 14:43:00 +01:00
Jonathan Gimeno
6025132720
refactor historical info test
2020-02-18 14:03:06 +01:00
Jonathan Gimeno
918949cf23
refactor TestHistoricalInfo to use simapp
2020-02-18 14:00:59 +01:00
Alexander Bezobchuk
794a496892
Merge PR #5533 : Protobuf: x/auth & x/supply
2020-02-18 13:50:13 +01:00
Jonathan Gimeno
f912618b8a
use simapp into keeper
2020-02-18 13:42:53 +01:00
Alessio Treglia
c77bb7b038
Squash various linter warnings ( #5652 )
...
Closes : #5651
2020-02-16 20:06:45 +01:00
Alexander Bezobchuk
05c21a534a
Merge Pr #5642 : Remove x/mock
2020-02-14 10:30:51 -05:00
Marko
e44f914893
dep: bump tendermint version to 0.33.1 ( #5645 )
...
* dep: bump tendermint version to 0.33.1
Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
* minor touch up
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
2020-02-14 09:04:05 -05:00
Marko
48d39e344e
Merge PR #5619 : proto: migrate params to hybrid codec
2020-02-12 11:34:09 -05:00
Marko
56c5868975
Merge PR #5610 : proto: migrate x/distr to use hybrid codec
2020-02-11 09:58:37 -05:00
Chad Barraford
e2d4b9de44
Merge PR #5497 : ensure non-nil gentxs
2020-02-10 15:32:16 -05:00
Alessio Treglia
6cbf634ad5
Merge PR #5620 : Fix nil pointer deref in distribution tax/rewward validation helpers
2020-02-07 13:09:18 -05:00
Gavin
dd2d1c2573
Merge PR #5626 : Update README.md
2020-02-07 11:15:55 -05:00
Alexander Bezobchuk
cd9b2d450b
Merge PR #5622 : Track proposal handler events on success
2020-02-06 16:19:26 -05:00
Alexander Bezobchuk
53bf2271d5
Merge PR #5600 : Migrate x/staking to Protobuf
2020-02-06 14:21:02 -05:00
Erik Grinaker
a7f25ade03
Merge PR #5613 : update to golangci-lint v1.23.3
...
Co-authored-by: Jack Zampolin <jack.zampolin@gmail.com>
2020-02-05 11:32:45 -08:00
Alexander Bezobchuk
30d5f7daf3
Merge PR #5615 : Create Account on SendCoins
2020-02-04 21:33:02 -05:00
Marko
e1517e7a1d
Merge PR #5604 : docs: minor doc formatting & touchup of the scaffold section
2020-02-04 13:16:56 -05:00
Alexander Bezobchuk
22ba931ec6
Merge PR #5611 : Add missing aliases
2020-02-04 10:07:39 -05:00
Alexander Bezobchuk
ce16e0a99d
Merge PR #5597 : Include Amount in Complete Unbonding/Redelegation Events
2020-01-31 11:12:04 -05:00
Alexander Bezobchuk
6890feb3d2
Merge PR #5572 : ADR 004 Implementation
2020-01-30 16:31:16 -05:00
Federico Kunze
ec35cf2d91
Merge PR #5584 : Staking additions for IBC
2020-01-29 08:35:49 -05:00
Miguel Dingli
d5d29ef67a
Merge PR #5557 : Added amount event to InputOutputCoins for MsgMultSend
2020-01-27 09:46:55 -05:00
Marko
1b6897ad1b
Merge PR #5568 : godoc: change nft to supply in godoc
2020-01-24 12:32:15 -05:00
Alessio Treglia
b647824716
Refactor x/auth/client/utils/ ( #5555 )
...
Packages named utils, common, or misc provide clients with no
sense of what the package contains. This makes it harder for
clients to use the package and makes it harder for maintainers
to keep the package focused. Over time, they accumulate dependencies
that can make compilation significantly and unnecessarily slower,
especially in large programs. And since such package names are
generic, they are more likely to collide with other packages
imported by client code, forcing clients to invent names to
distinguish them.
cit. https://blog.golang.org/package-names
2020-01-24 16:40:56 +00:00
Alexander Bezobchuk
26d6e49d6a
Merge PR #5491 : Protobuf Introduction + Types
2020-01-24 10:32:00 -05:00
Alessio Treglia
d0ff973386
Merge PR #5562 : Remove KeyringServiceName from the sdk.Config struct
2020-01-23 13:47:11 -05:00
Alexander Bezobchuk
a4b36b9dcd
Merge PR #5561 : v0.38 Migration Fixes
2020-01-23 13:15:22 -05:00
Alessio Treglia
415eab7a56
Create new generic keyring constructor: NewKeyring ( #5547 )
...
Remove other convenience constructors:
* Remove NewKeyBaseFromHomeFlag
* Remove NewKeyringFromDir
* Remove NewKeyringFromHomeFlag
2020-01-22 17:54:56 +00: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
Sunny Aggarwal
f367087731
Merge PR #5439 : Keybase: Multiple Signature Algorithms
2020-01-14 10:40:10 -05:00
Alexander Bezobchuk
214024431f
Merge PR #5508 : Fix and Return Height in x/distribution REST Handlers
2020-01-10 16:10:37 -05:00
Alexander Bezobchuk
bf41deac62
Merge Pr #5506 : Refactor use of parameters in x/distribution to match module spec
2020-01-10 15:08:14 -05:00
Xuefeng Zhu
6024115667
Merge PR #5503 : use build-in iterator function
2020-01-10 09:33:43 -05:00
Alexander Bezobchuk
3df3887597
Merge PR #5499 : Cleanup genesis state validation + Genutil
2020-01-09 15:14:23 -05:00
Alexander Bezobchuk
869531ca92
Merge PR #5495 : Replace Redundant Bech32 PubKey Functions
2020-01-09 09:04:28 -05:00
Alexander Bezobchuk
25be589af6
Merge PR #5482 : Update Query Txs by Events Command
2020-01-06 11:49:31 -05:00
Ferenc Fabian
066dd1114f
Merge PR #5449 : Add New constructor for the DecCoin
2020-01-03 15:44:53 -05:00
Anil Kumar Kammari
a5fc7d6ba6
Merge PR #5367 : Regen network/skip upgrade
2020-01-03 09:37:29 -05:00
Marko
43e25e283e
Merge PR #5463 : docs: add link to iavl documentation
2020-01-02 10:25:09 -05:00
Alexander Bezobchuk
9a183ffbcc
Merge PR #5421 : Refactor Error Handling
2019-12-27 12:57:54 -05:00
Alessio Treglia
3c82b66347
Merge PR #5427 : Remove code duplication in x/auth/client/cli
2019-12-27 10:23:18 -05:00