Christopher Goes
879f78cfc0
Rename revoke(d) to jail(ed)
2018-08-22 17:56:13 +02:00
Alessio Treglia
187bc1972a
Merge PR #1950 : Validator.Owner -> .Operator
...
* Rename --address-validator flag to --validator
See #1901
* Update PENDING.md
* Rename Validator.Owner -> Validator.Operator
See #1901
2018-08-16 16:47:59 -04:00
Rigel
d9dc061b4f
Merge pull request #1819 : rational -> decimal
...
* changelog
* ...
* decimal func working
* decimal complete, untested
* fixing tests
* decimal compile errors resolved
* test compile errors
* precision multiplier test
* 1% laptop battery
* fixed TestNewDecFromStr
* equalities working
* fix bankers round chop
* ...
* working, some decimal issues resolved
* fix rounding error
* rounding works
* decimal works
* ...
* deleted rational
* rational conversion working
* revert changelog
* code compiles (not tests)
* went through all NewDec, made sure they were converted from NewRat properly
* test debugging
* all testing bugs besides the json marshalling fixed
* json unmarshal
* lint
* document update
* fix lcd test
* cli test fix
* mostly undo Dece -> Rate
* val comments
* Efficiency improvements
This now caches all of the precision multipliers (as they were all
used in non-mutative functions), and caches the precisionInt calculation.
(Now it just copies the already calculated value)
* Cache another precisionInt() call.
* Improve banker rounding efficiency
* remove defer, make negation in-place.
* chris val comments
* bez comments
* Aditya comments
* ...
* val comments
* rebasing start
* ...
* compiling
* tests pass
* cli fix
* anton, cwgoes, val comments
* val and jae comments
* type
* undo reuse quo
2018-08-14 20:15:02 -04:00
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
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
Ethan Buchman
7ba52e8d32
Merge pull request #1609 from cosmos/rigel/two-val-pubkey
...
prevent create-validator with duplicate pubkey
2018-07-09 23:06:53 -04:00
rigelrozanski
f8b625b391
Merge pull request #1609 : prevent create-validator with duplicate pubkey
2018-07-09 20:51:12 -04:00
sunnya97
7ac220beb6
asdf
2018-07-09 00:59:51 -07:00
Christopher Goes
51a50210e9
Merge PR #1565 : Validator Cliff Updates
2018-07-07 02:50:54 +02:00
Christopher Goes
3b7fbf66ab
assert -> require
2018-07-07 02:37:59 +02:00
rigelrozanski
062a683d11
completely fix dem tests
2018-07-06 20:00:33 -04:00
rigelrozanski
37a5f2fd4c
fix count in UpdateBondedValidators to not include revoked validators
2018-07-06 19:53:07 -04:00
Christopher Goes
ad3e123c82
Ignore slashes on nonexistent validators; update testcases
2018-07-07 01:49:17 +02:00
rigelrozanski
5d2b6c81ea
split out cliff problems to more tests
2018-07-06 18:41:04 -04:00
rigelrozanski
926a6160c9
rearrage cliff tests to reveal new problem
2018-07-06 03:04:01 -04:00
rigelrozanski
3cef455723
fill in cliff validator test
2018-07-05 20:24:31 -04:00
Christopher Goes
5c939cfab7
Demonstrative testcase, export GetCliffValidator
2018-07-04 00:08:37 +02:00
Dev Ojha
6a864923fa
types: Rename rational.Evaluate to rational.Round ( #1487 )
...
* rational.Evaluate -> rational.RoundInt64
* rational.EvaluateInt -> rational.RoundInt
This done to improve clarity of the code.
Closes #1485
2018-07-02 11:57:33 -04:00
Christopher Goes
3654579ea7
Merge PR #1278 : Slashing v2
...
Implement semifinal Gaia slashing spec (#1263 ), less #1348 , #1378 , and #1440 which are TBD.
2018-06-30 05:34:55 +02:00
Dev Ojha
955a0c9af7
Switch asserts to require ( #1483 )
...
* meta: Switch the majority of asserts to require
Switch most assert statements to require, to ease debugging.
Closes #1418
* Fix imports
2018-06-30 03:10:15 +02: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
Joon
314b5a854d
Merge PR #1218 : sdk.Int in sdk.Coin
...
implement Int, Int256, Uint256
pass ci
pass ci
add to changelog, add boundcheck to test
add comments, fix cli_test.go
fix errors
apply requested changes
panics on New*WithDecimal
fix Int.BigInt()
fix stake tests
* Panic on uint division-by-zero
* Set ok=false on NewIntFromString, NewUintFromString failure
* Nuke CircleCI caches
2018-06-15 23:16:45 +02:00
Rigel
83c1183e25
Merge PR #1233 : Inflation now unbonded
...
working debug fix
add broken test
fix testnet bug
updated provision test
changelog
cwgoes comments
2018-06-13 09:12:57 +02:00
rigelrozanski
952aedc4f1
get rid of candidacy references
2018-05-31 14:57:09 -07:00
rigelrozanski
41458956a1
fix tests, pool.TotalSupply -> pool.TokenSupply()
2018-05-22 18:50:59 -04:00
rigelrozanski
db9fd51d1c
...
2018-05-22 15:13:03 -04:00
rigelrozanski
75d572dfd1
...
2018-05-20 17:56:43 -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
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
dc3c40fecc
fixing tests, working on TestUpdateSharesLocation
2018-05-17 09:19:33 -04:00
rigelrozanski
0c98cc6895
working fixing validator tests
2018-05-17 09:19:05 -04:00
rigelrozanski
a0c73372be
stake refactor, tests compiling
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
37156ad192
debug stake store refactor, cli change
2018-05-17 09:17:40 -04:00
rigelrozanski
ed5d088824
renaming and refactoring for fees
2018-05-17 09:17:14 -04:00
Adrian Brink
d52d74582a
Change fermion to steak
2018-04-30 16:24:46 -07:00
Christopher Goes
86b79b9c84
Fix testcases & update changelog
2018-04-23 18:41:36 +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
6b995ac701
handler tests pass woot
...
...
2018-04-05 13:17:08 -04:00
rigelrozanski
b8541c8174
tests in loops use require
...
...
2018-04-05 13:17:08 -04:00
rigelrozanski
1db8764b9e
handler tests compile
...
...
...
2018-04-05 13:17:08 -04:00