Commit Graph

28 Commits

Author SHA1 Message Date
frog power 4000 78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
Sunny Aggarwal 945803d586 Governance Quorum (#3053) 2018-12-10 02:50:20 -08:00
John McDowall f09fa33cfd Merge PR #2802: Correct the usage of misspelling of English word 'depositor'.
Throughout the codebase the misspelling 'depositer' of the English word
'depositor' has been used. This commit applies a global search and
replace to correct the misspelling.
2018-11-22 00:53:33 +01:00
Sunny Aggarwal d1614ebb7e R4R: Query Gov Params (#2576)
* gov query params
2018-11-13 15:45:37 -08:00
Sunny Aggarwal 1d3a04a61c Switch gov proposal-queues to use iterators (#2638)
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Sunny Aggarwal 15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal 8721dd6ff8 Merge PR #2355: Governance BFT Time 2: Electric Boogaloo 2018-09-20 22:53:52 +08:00
Christopher Goes 72e9664ce1 Revert "Merge PR #2217: Governance BFT Time"
This reverts commit 94b86f85c1, reversing
changes made to 2a4edcca48.
2018-09-07 17:00:57 +02:00
Sunny Aggarwal 92eef7a4fa docs 2018-09-03 00:16:38 -07: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
gamarin2 894d0cf5e3
Merge branch 'master' into gamarin/update_gov_spec 2018-07-11 15:59:24 +02:00
gamarin b2e9e1724b Spec conforms to current module 2018-07-02 13:50:55 +02:00
Sunny Aggarwal dc2c8f900b Merge PR #1168: Governance MVP 2018-06-22 02:19:14 +02:00
gamarin 9d5425b806 latest change 2018-06-15 16:18:50 +02:00
gamarin b525989319 Split procedures and add grace period 2018-06-07 12:02:21 +02:00
gamarin 8c800eb42a Sunnys feedback 2018-06-05 16:43:56 +02:00
gamarin 6f8a2d562c better display 2018-06-04 17:34:31 +02:00
gamarin bd8c481064 Small fix 2018-06-04 17:22:38 +02:00
gamarin 5735075b05 Revamp gov spec 2018-06-04 17:20:07 +02:00
Zaki Manian f33f49a840 Almost from scratch reimplementation of bech32cosmos integration. 2018-05-27 13:47:23 +02:00
Ethan Buchman ac8597e49d spec/governance: update state.md 2018-05-08 15:31:37 -04:00
gamarin 5ff1f0c5f8 Add submitter in proposal struct 2018-03-02 12:08:18 +01:00
gamarin 9820f5b45c Removed stores, change address to PubKey, fixes, ... 2018-03-01 17:21:35 +01:00
gamarin 0012f42057 Remove governance GovPubKey 2018-02-27 18:55:04 +01:00
gamarin 38975ac695 Remove map from Proposal struct 2018-02-27 16:04:44 +01:00
gamarin 02435bb1f8 From two processes to one process (jae's pick) 2018-02-26 18:15:48 +01:00
gamarin aa19612dd0 Improve store description 2018-02-26 17:28:57 +01:00
gamarin 48bd59eee3 Split in multiple files 2018-02-26 16:35:09 +01:00