Commit Graph

113 Commits

Author SHA1 Message Date
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
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
Jonathan Gimeno
0d24d2b2cb fix test query validators 2020-02-20 16:09:25 +01:00
Jonathan Gimeno
cdcbecb2f4 rename and temp commit 2020-02-19 10:53:43 +01:00
Jonathan Gimeno
7f8d0e6047 commit end of day refactoring 2020-02-18 19:10:53 +01:00
Jonathan Gimeno
c84c5922e4 temporal commit on querier test, it passes 2020-02-18 16:44:23 +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
Jonathan Gimeno
f912618b8a use simapp into keeper 2020-02-18 13:42:53 +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
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
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
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
Xuefeng Zhu
6024115667 Merge PR #5503: use build-in iterator function 2020-01-10 09:33:43 -05: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
Aditya
fca4cbef88 Merge PR #5380: ADR 17 Implementation: Historical Module 2019-12-18 08:20:02 -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
Federico Kunze
8344c0aef8
update simulation operations to use BaseApp (#4946)
* update operations to use baseapp

* updates and cleanup operations

* update operations

* restructure sim ops params

* rename sim /operations/msg.go to /operations.go

* move GenTx to a helper pkg to avoid circle deps

* rm msg.ValidateBasic

* changelog

* random fees; delete auth's DeductFees sim operation

* add chain-id for sig verification

* Update x/simulation/account.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* fix bank, gov and distr errors

* fix staking and slashing errors; increase prob for send enabled

* increase gas x10

* make format

* fix some distr and staking edge cases

* fix all edge cases

* golang ci

* rename acc vars; default no fees to 0stake

* cleanup; check for exchange rate and skip invalid ops

* fixes

* check for max entries

* add pubkey to genaccounts

* fix gov bug

* update staking sim ops

* fix small redelegation error

* fix small self delegation on unjail

* rm inf loop on random val/accs

* copy array

* add ok boolean to RandomValidator return values

* format

* Update x/bank/simulation/operations.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* Update simapp/helpers/test_helpers.go

Co-Authored-By: colin axner <colinaxner@berkeley.edu>

* address @colin-axner comments

* add genaccount pubkey validation

* fix test

* update operations and move RandomFees to x/simulation

* update gov ops

* address @alexanderbez comments

* avoid modifications to config

* reorder params

* changelog

* Update x/distribution/simulation/genesis.go

Co-Authored-By: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>

* remove named return values

* ensure all operations are simulated

* golangci

* add nolint

* disable whitespace and funlen linter

* disable godox

* add TODO on unjail

* update ops weights

* remove dup

* update godoc

* x/slashing/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* update operations format

* x/bank/simulation/operations.go linting

* x/distribution/simulation/operations.go linting

* x/staking/simulation/operations.go linting

* start changes: make bank simulate send multiple coins, code cleanup

* fix nondeterminism bug

* fix txsiglimit err

* fix multisend bug

* simplify simulation, cleanup opt privkey args

* make slashing test invalid unjail msgs

* Update simapp/state.go

* golangCI changes
2019-10-23 11:14:45 +02:00
Marko
b9490f2d93 Merge PR #5203: Add more linters 2019-10-17 09:47:35 -04:00
Xuefeng Zhu
3428291a61 Merge PR #5160: Simply Dec and Int sign check
* Simply Dec and Int sign check

* address comment
2019-10-14 16:05:42 -04:00
Marko
9f3789157e Merge PR #5192: golangcI-lint updates & set static version to 1.19 2019-10-14 11:43:19 -04:00
Kevin Davis
64a2741250 Merge PR #5040: Separate vesting from auth, add custom vesting schedules 2019-10-10 11:53:30 -04:00
Xuefeng Zhu
9c5371226a Merge PR #5051: Remove staking tkey 2019-09-18 14:28:02 -04:00
Marko
6684cdf3e5 Merge PR #5048: Fix linters and add golint 2019-09-16 13:11:17 -04:00
Xuefeng Zhu
4581ab342b Merge PR #4966: Reuse ValidatorsPowerStoreIterator 2019-08-29 16:47:55 -04:00
Timothy Chen
1a15f68359 Merge PR #4944: Fix validator tests 2019-08-22 14:37:49 -04:00