Commit Graph

68 Commits

Author SHA1 Message Date
Christopher Goes
59aadf42aa
Ledger integration (#931)
Merges the keybase and Ledger code from go-crypto (which is no more) into the SDK
Adds support for Ledger into gaiacli
Cherry-picks updated error handling from #1158
2018-06-29 02:54:47 +02:00
Rigel
6f140d7296 Merge PR #1119: Unbonding, Redelegation
* stake/fees spec updates
* staking overview.md revisions, moving files
* docs reorganization
* staking spec state revisions
* transaction stake updates
* complete staking spec update
* WIP adding unbonding/redelegation commands
* added msg types for unbonding, redelegation
* stake sub-package reorg
* working stake reorg
* modify lcd tests to not use hardcoded json strings
* add description update
* index keys
* key managment for unbonding redelegation complete
* update stake errors
* completed handleMsgCompleteUnbonding fn
* updated to use begin/complete unbonding/redelegation
* fix token shares bug
* develop docs into unbonding
* got non-tests compiling after merge develop
* working fixing tests
* PrivlegedKeeper -> PrivilegedKeeper
* tests compile
* fix some tests
* fixing tests
* remove PrivilegedKeeper
* get unbonding bug
* only rpc sig verification failed tests now
* move percent unbonding/redelegation to the CLI and out of handler logic
* remove min unbonding height
* add lcd txs
* add pool sanity checks, fix a buncha tests
* fix ante. set lcd log to debug (#1322)
* redelegation tests, adding query functionality for bonds
* add self-delegations at genesis ref #1165
* PR comments (mostly) addressed
* cleanup, added Query LCD functionality
* test cleanup/fixes
* fix governance test
* SlashValidatorSet -> ValidatorSet
* changelog
* stake lcd fix
* x/auth: fix chainID in ante
* fix lcd test
* fix lint, update lint make command for spelling
* lowercase error string
* don't expose coinkeeper in staking
* remove a few duplicate lines in changelog
* chain_id in stake lcd tests
* added transient redelegation
* 'transient' => 'transitive'
* Re-add nolint instruction
* Fix tiny linter error
2018-06-27 04:00:12 +02:00
rigelrozanski
0ef3259a39 revised use of EndBlock/BeginBlock, basecoin updated for staking/slashing 2018-06-01 14:24:48 -07:00
rigelrozanski
952aedc4f1 get rid of candidacy references 2018-05-31 14:57:09 -07:00
Christopher Goes
7e9192f513
Separate validator pub key index updates 2018-05-31 00:41:28 +02:00
Christopher Goes
e4b0d0a618
Reorganization in progress 2018-05-28 21:55:54 +02:00
Christopher Goes
e614799d0f
ForceUnbond() implementation WIP 2018-05-28 21:55:53 +02:00
rigelrozanski
5a46f26e86 cleanup handleMsgUnbond and revoke logic 2018-05-23 17:06:54 -04:00
rigelrozanski
db9fd51d1c ... 2018-05-22 15:13:03 -04:00
rigelrozanski
e70249b631 more bucky comments, single status validator, only one store now for core validator object 2018-05-20 17:39:04 -04:00
rigelrozanski
26be2a231b working addressed bucky comments 2018-05-18 18:57:47 -04:00
rigelrozanski
d1d17734ef remove gas parameters from stake 2018-05-17 16:17:19 -04:00
rigelrozanski
1302c71982 fixin tests 2018-05-17 09:19:33 -04:00
rigelrozanski
423917f352 test compile fixes for poolshares 2018-05-17 09:19:33 -04:00
rigelrozanski
1ab432a7e1 many bug fixes, introduce PoolShare type 2018-05-17 09:19:33 -04:00
rigelrozanski
be9413517d fix UpdateSharesLocation and removeDelShares 2018-05-17 09:19:33 -04:00
rigelrozanski
67123a3a46 move validator property fn and tests from pool.go to validator.go 2018-05-17 09:19:33 -04:00
rigelrozanski
b64363fcbe split types into multiple files, fix delegation share exrate 2018-05-17 09:19:33 -04:00
rigelrozanski
eb87a5dbbf introduce UpdateSharesLocation to deal with different share types 2018-05-17 09:19:05 -04:00
rigelrozanski
518e2490d5 develop rebase staking fixes 2018-05-17 09:19:05 -04:00
rigelrozanski
6d0c788185 working refactoring 2018-05-17 09:17:40 -04:00
rigelrozanski
fa64487e65 working fee distribution reorg 2018-05-17 09:17:40 -04:00
rigelrozanski
ed5d088824 renaming and refactoring for fees 2018-05-17 09:17:14 -04:00
Christopher Goes
a2f5855d8e
Add tags for declare & edit candidacy txs 2018-05-10 21:55:51 +02:00
Christopher Goes
580ac5f57b
Add tagging for MsgUnbond 2018-05-10 17:37:12 +02:00
Christopher Goes
e4e1068390
Add delegate() tags 2018-05-10 17:37:12 +02:00
Christopher Goes
bef7e44f6d
Example tag implementation for CoinKeeper 2018-05-10 17:36:55 +02:00
rigelrozanski
ce32117399 rational embedes bigRat 2018-04-30 17:21:14 -04:00
Christopher Goes
f6cef02904 Reorder parameters & remove redundant check 2018-04-27 20:03:43 -04:00
Christopher Goes
9450779bba InitGenesis & WriteGenesis no longer functions of keepers 2018-04-27 20:03:43 -04:00
Christopher Goes
c788c3e533 GetBonds => getBonds 2018-04-27 20:03:43 -04:00
Christopher Goes
55c82e44a2 export-stake command works 2018-04-27 20:00:58 -04:00
Christopher Goes
0436d890c7 Add candidates & bonds to stake module genesis 2018-04-27 20:00:58 -04:00
Christopher Goes
f71191e402 Add simple WriteGenesis for stake & cool modules 2018-04-27 20:00:58 -04:00
rigelrozanski
201908949a stake init overhaul 2018-04-26 14:26:39 -04:00
Christopher Goes
5b1e2a3786
Add Height field to DelegatorBond, update appropriately 2018-04-23 18:32:55 +02:00
rigelrozanski
996cafe972 register wire, stake changelog, stake genesis update 2018-04-18 12:19:35 -04:00
rigelrozanski
c63a545206 stake handler tests 2018-04-18 12:19:35 -04:00
rigelrozanski
8a34b91fac fix existing gaia tests 2018-04-18 12:18:28 -04:00
rigelrozanski
179caa5768 refactor gaia with stake 2018-04-18 12:18:28 -04:00
rigelrozanski
f7437fd899 connected stake cli 2018-04-18 12:18:01 -04:00
Christopher Goes
f8e44b5b00 Error codespacing (#809)
* Initial codespacing layout (ref #766)
* Add codespace to Router (ref #766)
* Implement Codespacer and update modules
* Default codespaces, testcases
* Update error formatting, codespacer tests
* Add RegisterOrPanic testcase
* Update CHANGELOG
2018-04-17 19:16:21 -07:00
rigelrozanski
ccb71a2afa pool using time and end block handler staking 2018-04-05 13:17:32 -04:00
rigelrozanski
6b995ac701 handler tests pass woot
...
2018-04-05 13:17:08 -04:00
rigelrozanski
bfcb214c55 fix nil.Result() call 2018-04-05 13:17:08 -04:00
rigelrozanski
1db8764b9e handler tests compile
...

...
2018-04-05 13:17:08 -04:00
rigelrozanski
6c2eda6e1d adrian pr comment 2018-04-03 00:19:21 +02:00
rigelrozanski
3827b34468 ... 2018-04-03 00:19:21 +02:00
rigelrozanski
5486d6a283 compiling 2018-04-03 00:19:20 +02:00
rigelrozanski
55c5bf87a1 pool compiles 2018-04-03 00:19:20 +02:00