Commit Graph

713 Commits

Author SHA1 Message Date
Rigel b48d0d5623 Merge PR #2527: Minting 2018-10-19 20:36:00 +02:00
Alessio Treglia 593921d04d Merge PR #2524: Replace GenTx with StdTx
Rework the process of loading a genesis.json file to load a starting app state and set of initial transactions to process.

* New function to create genesis account from MsgCreateValidator
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* New func processStdTxs()
* Remove gen-tx command
* Cleanup, return validators as they need to be written into genesis.json
* Modify gaiad init to allow auto-create of stdTx
* Remove server/testnet.go
* Don't load node_key.json, which might not be available
* Get the txs through DeliverTx
* Add app.slashingKeeper.AddValidators at the end of genesis
* On InitChain(), Signature's account number must be 0
* Add (tentative?) command to generate {node_key,priv_validator}.json files
* Reintroduce gaiad testnet
* Prompt user for passwords
* Update gaia to work with auth.StdTx
* Remove test_utils, NewTestGaiaAppGenState is now deprecated
* Combine --genesis-format and --generate-only
* Improve sign command's --offline flag documentation
* Moniker must be set
* Call app.slashingKeeper.AddValidators() even if len(txs) == 0
* Refactoring, introduce gaiad init --skip-genesis, code cleanup
* Drop unnecessary workaround to make lcd_tests pass
* Reintroduce gentx
* Simple name changes, GenesisState.Txs -> .GenTxs; OWK -> OverwriteKey; OverwriteKeys -> OverwriteKey
2018-10-19 20:00:27 +02:00
Sunny Aggarwal 505c356f20 Merge PR #2514: Refactor validator deletion 2018-10-18 21:58:18 +02:00
gamarin2 a7e6969029 Merge PR #2493: Fix service provider docs
* Fix link

* Default curve

* Link to website

* Update to latest docs

* test relative link

* test links 2

* Link test 3

* test link 4

* Proper docs + links

Note: Current swagger doc lives on cosmos staging site. The doc on here refer to the main website and will therefore 404 until staging is deployed to main site
2018-10-18 20:50:05 +02:00
Zach ce23ad41ce Merge PR #2447: Cleanup docs/light 2018-10-18 02:46:03 +02:00
Jack Zampolin 2e59e2626b Merge PR #2510: Update PRIORITIES.md 2018-10-17 21:41:36 +02:00
Christopher Goes 2514d6d828 Merge branch 'develop' into nylira-patch-1 2018-10-17 18:39:01 +02:00
Christopher Goes 3f59cf1517
Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-16 19:23:57 +02:00
Christopher Goes 2803830c7e
Merge PR #2236: Distr-PR-5 Implement Distribution 2018-10-16 08:18:21 +02:00
Peng Zhong d0a00b4174
add Google Analytics for documentation pages
Also renames the static docs site to "Cosmos Documentation", which is a better representation of the contents than "Cosmos Network".
2018-10-16 12:11:57 +08:00
Christopher Goes 83f7a4cb7b Bugfix; update slashing spec 2018-10-15 23:01:29 +02:00
Joon 047c3d1456
Merge branch 'develop' into joon/2490-copy-godocs 2018-10-16 04:14:40 +09:00
Christopher Goes 2c4d9a0be4 Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-15 21:04:49 +02:00
rigelrozanski 5de0c9a1f8 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-15 02:43:36 -04:00
rigelrozanski 2ece2ff37c address @cwgoes comments 2018-10-15 02:34:01 -04:00
Sunny Aggarwal 6c9e71b654 Merge PR #2451: implement validator queue
* unbonding redelegation queue

* address some of bez and chris review

* delete old timeslices from queue

* added Rigel's test case

* added end-time to tags

* fixed bug in staking

* removed prints

* Get -> Queue

* called Endblocker in test

* implement validator queue

* Docs and PENDING

* address federicos comments

* unexposed UnbondingToUnbonded

* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
mossid fb78f1d0af add docs, fix GetSubspace, address comments
rm Subspace.ptr
2018-10-14 02:44:29 +09:00
Christopher Goes 1ff2e865a8 Back to greater than 2018-10-12 21:15:39 +02:00
Christopher Goes a83535aef3 Greater than to greater than or equal to 2018-10-12 21:09:23 +02:00
rigelrozanski dba20d1725 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-12 06:06:24 -04:00
Christopher Goes 6e4a8d9e16 Update spec 2018-10-12 01:04:57 +02:00
Christopher Goes 963bcaf66f Fix IBC paper link 2018-10-09 23:13:37 +02:00
rigelrozanski 600532575b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-08 20:15:17 -04:00
Sunny Aggarwal cd21427a7b Merge PR #2405: Unbonding and Redelegations Queue 2018-10-08 06:43:47 +02:00
rigelrozanski e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
rigelrozanski 45f0dd0e3b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-04 18:33:12 -04:00
HaoyangLiu 9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Zach a4690bbe58 Merge PR #2434: config.js 2018-10-03 20:09:35 +02:00
gamarin2 f8cc0af144 Merge PR #2403: Update doc on website 2018-10-03 19:11:34 +02:00
Zach a7fabbea16 Merge PR #2431: Update some links 2018-10-03 18:02:34 +02:00
Christopher Goes 482a22da90
Merge PR #2428: Update priorities file 2018-10-03 17:27:59 +02:00
Dev Ojha 6cbac79912 Merge PR #2419: Add quick start section to the docs readme 2018-10-02 14:02:22 +02:00
gamarin2 a3b31c7a6b Merge PR #2427: Fix typo val faq 2018-10-02 13:58:58 +02:00
rigelrozanski 436d2a0178 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-27 22:48:16 -04:00
rigelrozanski 0436f50c00 ... 2018-09-27 19:54:41 -04:00
Zach e7134e8742 Merge PR #2414: docs: add version 2018-09-27 16:52:24 +08:00
Dev Ojha 7d5bc459fa Merge PR #2413: Remove reflection from handlers 2018-09-27 05:04:06 +08:00
Dev Ojha cb86efa054 Merge PR #2376: auth: Don't recalculate mempool fees for every msg signer, misc. cleanup
This PR begins improving the godocs for the auth module, and begins cleaning
up the Ante handler.

Additionally we previously calculated if the fee was sufficient for the tx
on every single signer. This is now refactored to be more efficient, and have
a better logical flow. No changelog entry as this is new to this release.
2018-09-27 02:34:01 +08:00
Alessio Treglia a2caefc8ae Merge PR #2390: CLI subcommands reorganization 2018-09-26 22:00:49 +08:00
Rigel b54801b4b3 [RETRY] Distr-PR-3 More staking hooks (#2404)
* update commission hook for new commission work
* comment update
2018-09-25 23:11:57 -07:00
rigelrozanski 3846894c3a Merge branch 'rigel/new-hooks' into rigel/fee-distribution 2018-09-25 20:09:33 -04:00
rigelrozanski 9e9756a6a9 Merge remote-tracking branch 'origin/develop' into rigel/new-hooks 2018-09-25 18:31:12 -04:00
rigelrozanski 47e899bb61 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-25 17:45:48 -04:00
Sunny Aggarwal 15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Sunny Aggarwal a04d5cf26d Merge PR #2072: WIP Bank Denom Metadata Spec
* Bank Denom Metadata Spec

* moved to WIP filename

* val comment
2018-09-25 14:18:04 -04:00
Rigel 6b595842ed Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369)
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
rigelrozanski f5116b9d57 Merge branch 'rigel/truncate-decimal' into rigel/new-hooks 2018-09-24 22:52:12 -04:00
rigelrozanski 16594f7daf Merge remote-tracking branch 'origin/develop' into rigel/stake-cons-addr 2018-09-24 21:54:30 -04:00
Alexander Bezobchuk 9dafa3252d Merge PR #2365: Validator Commission Model
* Update validator commission fields

* Remove CommissionChangeToday and update to use CommissionChangeTime

* Implement commission as a first class citizen type

* Implement stringer for Comission

* Move commission type and logic to new  file

* Add new commission errors

* Add commission to create validator message

* Implement and call UpdateValidatorCommission

* Update godoc for UpdateValidatorCommission

* Add Abs to the decimal type

* Implement new SetValidatorCommission

* Update decimal short godocs

* Move set initial commission logic

* Move initial commission validation to Commission type

* Update initial validator commission logic and unit tests

* Remove commission update time from struct and move to validator

* Update validator create handler tests

* Implement commission logic for CLI

* Fix make lint failure

* Fix make cover failure

* Update edit validator logic to handle new commission rate

* Fix lint and cover

* Update create/edit validator simulation to include commission params

* Update MsgEditValidator godoc

* Update pending log

* Update staking tx docs

* Fix CLI create validator test

* Update variables names for commission  strings

* Merge UpdateTime into Commission type

* Update create-validator usage in docs

* Update more docs with examples

* More doc updates
2018-09-24 18:23:58 -04:00
rigelrozanski df0d5825be add staking hooks to staking spec 2018-09-22 16:43:29 -04:00