Commit Graph

122 Commits

Author SHA1 Message Date
frog power 4000 7f74b33e21 Merge PR #3357: Staking spec upgrades / some renaming 2019-02-09 00:57:33 +01:00
Sunny Aggarwal da0426a2dd Merge PR #2601: Bech32 Empty Addresses 2019-02-09 00:54:40 +01:00
Christopher Goes b5e245fee3
Merge PR #3333: F1 storage efficiency improvements 2019-01-23 12:37:03 +01:00
Alexander Bezobchuk a27ef7f7d1 Merge PR #3347: Ensure Canonical Message Signature Bytes 2019-01-23 09:46:41 +01:00
Jack Zampolin 9f50c9f5b6
R4R: Ensure all CLI queries respect output flags (#3320) 2019-01-22 09:28:39 -08:00
Christopher Goes 0684a42d9f
Merge PR #3292: Enable/disable withdraw addresses with a parameter 2019-01-16 23:17:56 +01:00
Christopher Goes 2942f83ff5
Merge PR #3099: F1 fee distribution 2019-01-16 22:38:05 +01:00
frog power 4000 78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
frog power 4000 a98a5a056a
Merge PR #2958: Validator Power Dec-> Int
* Validator Power Dec-> Int, working

* non-test code compiles

* working, many test compile fixes

* all test compile errors resolved

* ...

* slashing test fixes minor

* test cover passes

* invariant rounding issue

* comment update

* PENDING and doc updates

* @cwgoes comments

* RemoveDelShares trimmings to the final delegation share

* fixes

* ...

* fix the oopsie

* @alexanderbez comments

* merge fixes

* address @cwgoes comments
2019-01-02 15:29:47 -05:00
Jack Zampolin 14ebc65daf Merge PR #3119: Move all store keys into constants
* Move all store keys into constants
* Fix lint issue
* Add Pending.md
* QuerierKey -> QuerierRoute
2018-12-19 20:58:30 +01:00
Federico Kunze 65beea4430 Add distribution REST endpoints swagger file (#3038) 2018-12-13 10:42:55 -08:00
Alessio Treglia 24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
frog power 4000 49da96bc09 Merge PR #3010: Add Missing genesis checks in Gaia 2018-12-07 01:22:24 +01:00
Christopher Goes dfd00a661a Inflation bug fixes (#2982)
* PENDING.md; swap BeginBlocker ordering
* Calculate inflation every block
* Update x/mint spec
* Reset distribution info bond height instead
2018-12-04 10:17:02 -08:00
Hendrik Hofstadt b7736367a8 R4R: Fix duplicate json key in SetWithdrawAddress (#2944)
* Fix duplicate json key

* Update PENDING.md
2018-11-29 09:54:36 -08:00
Jae Kwon d1e76221d8
Jae/simulator improvements (#2900)
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
frog power 4000 7cb1ba625e blockly minting (#2825)
* update mechanism to use average block time
* correctly sets accum height for zero-delegations
* update Decimal Format()
* clip withdrawal tokens
* PositiveDelegationInvariant
* DelegatorSharesInvariant
* DelAccumInvariants
2018-11-26 04:13:47 -08:00
dongsamb 33d64b6163 Merge PR #2891: Remove redundant temporary code remDelPool when calc DelPool 2018-11-23 17:28:29 +01:00
Sunny Aggarwal 8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08:00
Christopher Goes 94f45311a0 Fix state export/import, add to CI (#2690)
* Update slashing import/export
* More slashing.WriteGenesis
* Add test import/export to CI
* Store equality comparison.
* Fix validator bond intra-tx counter
* Set timeslices for unbonding validators
* WriteGenesis => ExportGenesis
* Delete validators from unbonding queue when re-bonded
* Hook for validator deletion, fix staking genesis tests
2018-11-08 16:28:28 -08:00
Rigel d71f38bdac Merge PR #2597: Add distribution accum invariants 2018-10-26 13:42:53 +02:00
Jae Kwon 0f1fb179c4 Merge PR #2599 from cosmos/jae/dist_refactor
* Rename Pool -> DelRewards; PoolCommission -> ValCommision
* FeePool.Pool -> FeePool.ValPool
* WithdrawalHeight->DelPoolWithdrawalHeight
* OnValidatorBeginUnbonding
* Caught the bug's tail
* Update vi.FeePoolWithdrawalHeight upon bonding
* Fix staking slashUnbondingDelegation bug; fixes simulator failure #9
2018-10-26 13:27:55 +02:00
Jae Kwon f756b40a01 LastValidatorPower is also an Int 2018-10-24 00:04:06 -07:00
Sunny Aggarwal d666658ca9 Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() 2018-10-23 21:23:55 +02:00
Christopher Goes 3d270babc0 Store last total power as sdk.Int, not sdk.Dec 2018-10-23 20:48:50 +02:00
Christopher Goes 306fb8fb6d Address @rigelrozanski comments 2018-10-23 20:33:39 +02:00
Christopher Goes 33c8238392 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-23 17:54:58 +02:00
Christopher Goes be66a4950e Remove debugging print statements 2018-10-23 15:50:35 +02:00
Jae Kwon c3008d585b Add more useful logging 2018-10-22 16:24:19 -07:00
rigelrozanski a3447cd480 debug cleanup 2018-10-22 15:51:27 -04:00
Jae Kwon 471ddeef3c tweak debug output 2018-10-22 09:50:17 -07:00
Jae Kwon 19225fc5d4 Print debugging info 2018-10-22 02:42:40 -07:00
Jae Kwon 1cc74320df Replicate Rigel's changes but w/ modifications as discussed + some name changes 2018-10-22 01:46:47 -07:00
Christopher Goes 6c9ad8c031 Add sanity checks 2018-10-19 21:58:05 +02:00
Christopher Goes e099491daa
Merge PR #2526: Distribution fixes from simulation 2018-10-18 21:58:57 +02:00
Christopher Goes 3f59cf1517
Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-16 19:23:57 +02:00
rigelrozanski 076053d5b9 proposer reward params to global param 2018-10-15 16:12:42 -04:00
rigelrozanski 5de0c9a1f8 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-15 02:43:36 -04:00
ValarDragon 9e334afad0 Lock binary dependencies to a specific commits / versions
This is basically copying over @anton's great script!

Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
2018-10-09 23:52:36 -07:00
rigelrozanski 52316d9ef6 fix initialization of the test 2018-10-09 21:43:23 -04:00
rigelrozanski fc9bafb8d3 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-09 20:19:22 -04:00
rigelrozanski e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
Christopher Goes 1f12f204ce Testcase fixes, 'make format', negative pre-genesis block 2018-10-05 14:11:36 +02:00
Rigel 9c9113fa3b Merge PR #2437: Distr-PR-4 Distribution Types 2018-10-05 12:41:38 +02:00
rigelrozanski 17dc812749 fix distribution endblocker issues 2018-10-04 20:20:43 -04:00
rigelrozanski eb01cb4a35 checkout distr types PR updates 2018-10-04 18:29:03 -04:00
rigelrozanski 3a9102e2af fix 2018-10-04 03:34:10 -04:00
rigelrozanski 4d4de3aa09 delegator_dist_info tests 2018-10-04 03:26:02 -04:00
rigelrozanski 1e74da1abe validator_info tests 2018-10-04 03:00:24 -04:00
rigelrozanski dcf0ddaa03 ... 2018-09-28 20:55:22 -04:00
rigelrozanski 16f5d69329 types fee pool test 2018-09-28 19:32:42 -04:00
rigelrozanski 064f8b0b58 dec coin tests 2018-09-28 19:23:01 -04:00
rigelrozanski e223eadb36 types msg tests 2018-09-28 19:04:04 -04:00
rigelrozanski 60a3541380 major debugs 2018-09-28 03:29:52 -04:00
rigelrozanski 251a81f589 yay it compiles 2018-09-20 00:53:48 -04:00
rigelrozanski 5790f33159 ... 2018-09-19 23:01:55 -04:00
rigelrozanski 5dabd1bf6d the errors never want to seem to end... 2018-09-19 22:54:46 -04:00
rigelrozanski 18fdccf95b ... 2018-09-19 22:13:12 -04:00
rigelrozanski d9396ed732 working compile errors 2018-09-19 19:33:12 -04:00
rigelrozanski df9c8db5e7 working through compile errors 2018-09-19 19:00:21 -04:00
rigelrozanski 76882991a4 alias work, working on compiling 2018-09-19 14:47:25 -04:00
rigelrozanski de4071f693 aliases, errors 2018-09-19 00:42:05 -04:00
rigelrozanski 73c5fdf1f9 more cli related 2018-09-19 00:10:33 -04:00
rigelrozanski a18b89539a handler, tags, msgs, codec 2018-09-18 23:30:00 -04:00
rigelrozanski 431fdb8695 hook, genesis, and withdraw address 2018-09-17 23:02:15 -04:00
rigelrozanski d60f620787 working 2018-09-14 02:35:02 -04:00
rigelrozanski a153088073 ... 2018-09-11 13:35:47 -04:00
rigelrozanski e498d43d03 dec coins, refactoring distr 2018-09-10 18:37:58 -04:00
rigelrozanski b40909906d update spec 2018-09-05 19:15:15 -04:00
rigelrozanski 53253aa32f working 2018-09-05 02:41:17 -04:00
rigelrozanski 48aa9a6ad5 working, moved WIP distribution spec to attic 2018-09-04 16:19:37 -04:00
rigelrozanski 9a2aee8791 working 2018-09-03 20:46:33 -04:00