Commit Graph
100 Commits
Author SHA1 Message Date
rigelrozanski 545c3c300e Merge remote-tracking branch 'origin/develop' into rigel/minor 2018-09-07 00:50:08 -04:00
rigelrozanski 51d3a39b39 move types/account -> address 2018-09-05 18:47:21 -04:00
Rigel e9e83f0b6d Merge PR #2237: move WIP-lamborghini-distribution 2018-09-05 13:59:37 -04:00
rigelrozanski 5c600f2e2b jae comments 2018-09-03 15:49:36 -04:00
rigelrozanski 2c66ba0bd4 extra comment on cache key usage 2018-09-02 15:42:25 -04:00
rigelrozanski f0c13bbfbd resolve merge errors 2018-08-31 21:38:50 -04:00
Rigel b296209536 Merge PR #2205: minor develop fix
* minor corrections

* ...

* ...
2018-08-31 21:23:30 -04:00
rigelrozanski acf1f09e73 Merge branch 'rigel/develop-fix' into rigel/validator-unbonding 2018-08-31 21:03:14 -04:00
rigelrozanski 6e295085c1 ... 2018-08-31 20:56:35 -04:00
rigelrozanski 9593a2641a ... 2018-08-31 20:52:45 -04:00
rigelrozanski 07ba719c75 minor corrections 2018-08-31 20:50:12 -04:00
rigelrozanski a880242895 Merge remote-tracking branch 'origin/develop' into rigel/validator-unbonding 2018-08-31 20:28:48 -04:00
Rigel b92ac313ac Merg PR #2198: Ensure Legacy Validator Delegation Invariants
* Test and allow jailed validator to self-bond

* Implement TestJailedValidatorDelegations

* Restructure TestJailedValidatorDelegations

* Add Delegation to Validator type and update handleMsgUnjail accordingly

* Update ErrMissingSelfDelegation error message

* Update democoin mock validator set impl

* Update pending log

* Add comment to ValidatorSet

* Fix conflicts/errors due to develop merge
2018-08-31 15:21:12 -04:00
Rigel ee0434e5a7 Revert "Merge PR #2176: Ensure Legacy Validator Delegation Invariants" (#2197)
This reverts commit df33452490.
2018-08-31 00:55:33 -04:00
rigelrozanski d900c583ff melekes comment 2018-08-30 21:16:23 -04:00
rigelrozanski 8d02c3eba0 fix golint 2018-08-29 20:24:35 -04:00
rigelrozanski 6fd8299b1a ... 2018-08-29 18:54:02 -04:00
rigelrozanski 2a1515f00a changelog 2018-08-29 18:48:42 -04:00
rigelrozanski 52b249b0cd complete tests 2018-08-29 18:44:40 -04:00
rigelrozanski d1a2fed2bc tests working 2018-08-29 02:28:27 -04:00
rigelrozanski c4d0a00550 Merge remote-tracking branch 'origin/develop' into rigel/validator-unbonding 2018-08-28 20:16:07 -04:00
rigelrozanski 222597165e trigger -> hooks 2018-08-28 18:23:57 -04:00
rigelrozanski 78f98fec16 Merge remote-tracking branch 'origin/develop' into rigel/validator-unbonding 2018-08-27 19:34:03 -04:00
rigelrozanski f2d47f9e91 slash contract, cwgoes comment 2018-08-27 14:46:38 -04:00
rigelrozanski 527320c9fc dummy tests 2018-08-27 00:38:31 -04:00
rigelrozanski ec42e66501 fix old tests 2018-08-27 00:20:40 -04:00
rigelrozanski 86f07d271d unbonding validators, delegtion effects 2018-08-24 21:47:31 -04:00
Rigel d0edcc5066 Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-23 04:05:16 -04:00
rigelrozanski cce4cbc9ec expand on shortcomings of the system 2018-08-23 04:02:26 -04:00
rigelrozanski b32285ec3b commission actively calculated, withdrawDelegationReward Tx 2018-08-23 03:19:21 -04:00
Rigel a54e3a3fc4 Merge branch 'develop' into cli-updates 2018-08-21 23:44:57 -04:00
Rigel 58f50c24a4 Merge branch 'develop' into cli-updates 2018-08-21 23:23:44 -04:00
rigelrozanski da30353394 update PR template 2018-08-21 16:39:10 -04:00
rigelrozanski ff043ef7a1 Merge remote-tracking branch 'origin/develop' into rigel/PR-template-update 2018-08-21 16:31:45 -04:00
rigelrozanski 90e1c9fdb1 Merge branch 'rigel/piggy-bank-fee-spec' of https://github.com/cosmos/cosmos-sdk into rigel/piggy-bank-fee-spec 2018-08-16 16:41:57 -04:00
rigelrozanski 3c564c01b9 clearer names, missing commission logic 2018-08-16 16:41:32 -04:00
Rigel 54cc27fde9 Merge branch 'develop' into rigel/piggy-bank-fee-spec 2018-08-15 23:54:44 -04:00
rigelrozanski 8fc9b95929 pending 2018-08-15 23:49:07 -04:00
rigelrozanski 5ef0f5d70e finalize txs 2018-08-15 23:33:26 -04:00
rigelrozanski 31d5348c4a txs pretty much ready 2018-08-15 20:03:39 -04:00
Rigel 422dfa3de9 Merge pr #2051: smol compile bug 2018-08-15 18:35:17 -04:00
Rigel 5fff217e9b Merge PR #2033: staking lcd uses owner address not pubkey address 2018-08-15 15:04:01 +02:00
rigelrozanski 37ed3b1a6e agasg 2018-08-15 04:12:44 -04:00
rigelrozanski 360eb75c8e working 2018-08-14 23:33:40 -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
rigelrozanski 5e5fad4548 txs 2018-08-14 13:45:13 -04:00
rigelrozanski e7ebe35b0a updating transactions 2018-08-09 00:34:19 -04:00
rigelrozanski 5285489977 general updates 2018-08-08 23:43:40 -04:00
rigelrozanski a0e05a8f03 triggers, endblock, transactions 2018-08-08 15:03:43 -04:00
rigelrozanski 2d613cefe7 move lamborghini distribution to subfolder 2018-08-08 14:24:38 -04:00
rigelrozanski eb6f51ed45 piggy bank state 2018-08-08 13:28:30 -04:00
rigelrozanski 97397e63da simple distribution overview 2018-08-08 13:09:51 -04:00
Rigel 7fb626f548 Merge PR #1702: lamborghini distribution & inflation spec upgrade 2018-08-08 12:10:21 +02:00
Rigel cd3d197cc1 Update PULL_REQUEST_TEMPLATE.md 2018-08-07 13:55:09 -04:00
Rigel 53d30aff88 Merge pull request #1850 from cosmos/bez/1675-non-deterministic-cover
R4R: Fix Non-Deterministic Test Coverage
2018-07-29 23:28:56 -04:00
Rigel c40d5debcc Merge pull request #1862 from cosmos/dev/speed_up_handleMsgEditValidator
x/stake: Speed up handleMsgEditValidator
2018-07-29 23:21:10 -04:00
Rigel 89dd333732 Merge pull request #1873 from cosmos/dev/reduce_test_output
CI: Reduce log output
2018-07-29 23:15:46 -04:00
Rigel 9812c88b3c Merge pull request #1853 from cosmos/cwgoes/staking-bugfix
Fix genesis bond intra-tx counter bug
2018-07-27 14:38:41 -04:00
Rigel 6c7e17a5de Merge pull request #1824 from cosmos/rigel/server-fix
WIP fix gen-tx
2018-07-26 16:16:34 -04:00
Rigel 9e0f5ac241 Merge pull request #1827 from cosmos/sunny/fix-do-not-modify
ready-for-review: fixed donotmodify bug
2018-07-26 14:04:36 -04:00
rigelrozanski 422eb0374e ... 2018-07-26 13:49:58 -04:00
Rigel 67d0c804b0 Merge pull request #1823 from cosmos/dev/cli_test_build_flag
tests: Move cli tests behind a build flag
2018-07-26 13:47:46 -04:00
rigelrozanski 07705444fd do-not-modify in defaults for edit-validator cli 2018-07-26 13:41:34 -04:00
rigelrozanski 58afe9780b Merge remote-tracking branch 'origin/develop' into sunny/fix-do-not-modify 2018-07-26 13:25:51 -04:00
Rigel 51eaa0f64e Merge pull request #1800 from cosmos/jlandrews/gaiad-export
Fix gaiad export
2018-07-26 13:05:12 -04:00
Rigel edbf85c273 Merge pull request #1835 from cosmos/dev/reuse_pubkeys
gov/tests: Cleanup test file
2018-07-26 12:58:12 -04:00
rigelrozanski 0fb57a735b Merge remote-tracking branch 'origin/develop' into jlandrews/gaiad-export 2018-07-26 12:52:12 -04:00
Rigel 46abe9f8e0 Merge PR #1724: R4R: Add Stake Genesis Intra-Tx Counter
* add revoked to human-readable validator
* changelog
* added failing test
* add intra-tx counter to the genesis validators
* changelog
2018-07-25 17:11:10 -07:00
rigelrozanski ee47b3b1ca rollback changes which break gen-tx 2018-07-25 16:57:33 -04:00
Rigel d6cd0d4acc Merge PR #1818: CLI keybase-sig -> identity 2018-07-25 20:43:13 +02:00
Rigel a19cc0fb7e Merge pull request #1751 from cosmos/rigel/no-endblock-rat-calcs
R4R: remove rationals in endblock
2018-07-23 19:44:09 -04:00
Rigel 52916f3c25 Merge branch 'develop' into rigel/no-endblock-rat-calcs 2018-07-23 14:59:06 -04:00
Rigel 63f70cb414 Merge pull request #1796 from cosmos/rigel/contributing
R4R: Contributing Guidelines advocate early discussion b4 coding
2018-07-23 14:54:06 -04:00
Rigel 1a44e387fe Merge pull request #1794: fixes in cosmos-sdk-cli
Some fixes in cosmos-sdk-cli
2018-07-23 14:35:41 -04:00
Rigel d5a3fa959f Update init.go 2018-07-23 14:19:52 -04:00
Rigel fae728f35a Merge pull request #1663 from cosmos/aditya/cleanup
BaseApp cleanup
2018-07-23 14:14:19 -04:00
Rigel 6fd8c05ba0 dev comment 2018-07-23 14:03:35 -04:00
Rigel d7231af9a6 update bullets 2018-07-23 13:52:03 -04:00
rigelrozanski a18bfff92f ... 2018-07-23 13:43:11 -04:00
rigelrozanski 99cf34a02a beefed up the contributing guide/PR-template 2018-07-23 13:33:47 -04:00
Rigel 17eb3eda02 Merge PR #1781: Gov tags cleanup 2018-07-21 03:58:45 +02:00
Rigel bf3bd57584 Merge PR #1778: Update PULL_REQUEST_TEMPLATE.md 2018-07-20 19:56:06 +02:00
Rigel 9d14c9bb33 Merge pull request #1770 gov cli proposalID to proposal-id
ready-for-review: gov cli proposalID to proposal-id
2018-07-20 12:54:44 -04:00
rigelrozanski dc42a42986 test cli fix 2018-07-20 12:30:28 -04:00
rigelrozanski 110dcda5cc pending/changelog 2018-07-20 11:52:21 -04:00
rigelrozanski 15138b80c8 Merge remote-tracking branch 'origin/develop' into sunny/gov-cli-proposal-id 2018-07-20 11:47:37 -04: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
rigelrozanski accce5c7d8 lower rounding 2018-07-20 11:24:03 -04:00
rigelrozanski df46339a45 benchmarking 2018-07-19 19:26:40 -04:00
rigelrozanski f70657bc36 Merge remote-tracking branch 'origin/develop' into rigel/no-endblock-rat-calcs 2018-07-19 18:56:12 -04:00
Rigel a054532a89 Merge pull request #1620 from cosmos/cwgoes/a-random-walk-down-proof-of-stake
R4R: Simulation framework, including staking simulation
2018-07-19 18:47:08 -04:00
Rigel d2f70ec8af Merge PR #1748: CLI use --from consistently 2018-07-19 08:53:12 +02:00
rigelrozanski 423d0c4a18 Merge remote-tracking branch 'origin/develop' into cwgoes/a-random-walk-down-proof-of-stake 2018-07-19 01:56:42 -04:00
rigelrozanski dd453b3143 changelog 2018-07-19 01:46:32 -04:00
Rigel c1af6c53d8 Merge pull request #1698: Create cosmos-sdk-cli
Merge pull request #1554: Implementation - cosmos-sdk-cli
2018-07-18 21:53:10 -04:00
Rigel fab4600c98 Update PENDING.md 2018-07-18 21:32:09 -04:00
Rigel 8e26eb73a5 Merge branch 'develop' into svaishnavy/cosmos-sdk-cli 2018-07-18 21:27:04 -04:00
Rigel cfe78027f2 Merge PR #1724: R4R: Add Stake Genesis Intra-Tx Counter
* add revoked to human-readable validator
* changelog
* added failing test
* add intra-tx counter to the genesis validators
* changelog
2018-07-18 22:09:40 +02:00
Rigel a8b6a10b63 Merge pull request #1738 Fix inflation calculation period check
x/stake: Fix inflation calculation period check
2018-07-18 14:15:40 -04:00