Dev Ojha
b2a4aecc44
Upgrade to tm version 23.0. ( #1927 )
...
* Start upgrade. Currently go test ./... hangs.
* (squash this) Fix staking tests
* wip
* note what changes need to be made to make this work on tm v0.23.0
* Fix addr -> pubkey map
* cleanup code
* Fix slashing test failures except for begin blocker
* fix all slashing tests
* fix lcd tests
* Address PR comments
* add link to changelog.
* (wip) start making addrToPubkey map persisted. Since amino can't handle maps,
we have to change from what this commit is doing.
* Use the correct method of storing a map
* (squash this) address PR comments
* Did you run 'make'?
* remove gaiadebug binary
2018-08-12 03:33:48 -04:00
ValarDragon
0bb3497356
x/stake: Speed up handleMsgEditValidator
...
This removes running the power update logic on handleMsgEditValidator,
as its unnecessary.
Closes #1815
2018-07-27 21:42:59 -07:00
rigelrozanski
5686d6692a
...
2018-07-20 11:39:29 -04:00
rigelrozanski
9e5a78fc7a
less stake endblock processing
2018-07-20 11:35:13 -04:00
Hendrik Hofstadt
b97ebef85e
Fix inflation calculation period check
2018-07-18 13:12:49 +02:00
Rigel
3231daa4d8
remove global shares ( #1644 )
...
* wip removing pool shares
* remove PoolShares/Tokens entirely
* worked through stake/type compile error
* work through a bunch of keeper errors
* worked through compile errors
* debugging tests
* resolve compilation error
* resolved types errors
* ...
* move inflation to pool type
* ...
* stumped problem
* Calculate newly issued shares, remove unnecessary pool arg from exchange rate calculation
* Rounding changed
* Update x/slashing tests for sdk.Rat BondedTokens
* testing fixes
* resolved test fixes
* cwgoes comments, changelog, lint
* cli bugfixes
* ..
* cli fixed
* spec update
* 'make format'
* cwgoes comments
* Increase test_cover parallelism
2018-07-13 21:46:14 +01:00
Rigel
2885ac586e
Merge PR #1660 : Redelegation doesn't subtract from liquid
...
* fix redelegation subtracting source coins
* changelog
* Add testcases for balance subtraction
* Move changelog entry
2018-07-13 01:38:35 +02:00
Aditya
b195c556e2
Merge pull request #1600 : Friend can create validator and delegate on behalf of genesis validator
...
* Added msg and handling for surrogate create validator
* changelog and error fix
* fix changelog
* Remove unnecessary msg by combining into CreateValidator
* Refactor
* Appease linter
* Added onbehalfof functionality in client
* fmt
* Added gaia onbehalfof test
* Update test for onbehalfof validator creation
* fix test
* Fix flag error
* Add app test
* fmt
* Fixed signer for onbehalfof createvalidator
* Fix error msg
* Simplify test
* fmt
2018-07-10 20:16:37 -04:00
rigelrozanski
f8b625b391
Merge pull request #1609 : prevent create-validator with duplicate pubkey
2018-07-09 20:51:12 -04:00
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