Commit Graph

1052 Commits

Author SHA1 Message Date
Alessio Treglia 8371095fcd Merge PR #3579: Update installation.md, mention snap packages 2019-02-15 16:36:37 +01:00
gamarin2 fb2d902c43 Merge PR #3649: improve ledger docs 2019-02-14 07:50:39 -08:00
gamarin2 9e9d64ec69 Merge PR #3637: DOCS: Add readme to specs 2019-02-13 10:05:03 -08:00
Juan Leni 787f46546d Merge PR #3620: Indicate build flags in version 2019-02-13 09:53:16 -08:00
dogemos c71893ed2d Merge PR #3615: Add 'translations/kr' 2019-02-13 15:38:48 +01:00
Jack Zampolin fe47c103f2 Add kr and cn translations of blog 1 2019-02-12 15:57:59 -08:00
Chjango Unchained 221b1ea3e0 Merge PR #3616: DOCS: add launch blog post 2019-02-12 08:53:51 -08:00
gamarin2 8e6a0d166b Merge PR #3608: DOCS: Fix delegator guide typo 2019-02-11 12:40:35 -08:00
gamarin2 f9b2809dc9 Merge PR #3605: DOCS: fix withdraw instructions in delegator guide 2019-02-11 09:10:04 -08:00
gamarin2 69eddb748c Merge PR #3602: Improve delegator's guide 2019-02-11 08:40:00 -08:00
Ethan Buchman 288df6fe69 add warning and disclaimer 2019-02-09 10:34:07 -05:00
Alessio Treglia 1e65ac4f0d Merge PR #3571: Update RELEASE_PROCESS.md
Update release procedure to ensure both master and develop sit on top of the same commit after release.
2019-02-09 04:15:32 +01:00
frog power 4000 7f74b33e21 Merge PR #3357: Staking spec upgrades / some renaming 2019-02-09 00:57:33 +01:00
Alexander Bezobchuk 7bc837aa06 Merge PR #3555: Reintroduce Fees OR Semantics 2019-02-07 18:14:54 -08:00
Christopher Goes 38068a59ea Merge PR #3507: Results from x/staking & x/slashing peer review 2019-02-07 17:41:23 -08:00
Peng Zhong 31f9938950 Merge PR #3540: Docs: fix broken docs build
missing quote
2019-02-07 11:17:22 -08:00
gamarin2 1be7490d63 Merge PR #3539: Docs: Add delegator guide to website 2019-02-07 10:37:00 -08:00
Jack Zampolin 408484e6d4
Merge PR #3503: CLI flags to args 2019-02-06 16:15:37 -08:00
Alessio Treglia b63b6254c8 Merge PR #3522: get rid of double negatives: IsNotNegative -> IsAnyNegative 2019-02-06 14:45:15 -08:00
gamarin2 81ba3cf531 Merge PR #3521: Docs: Fix table of content delegator guide 2019-02-06 11:48:34 -08:00
gamarin2 37b8e37567 Merge PR #3444: docs, delegator CLI guide 2019-02-06 08:50:03 -08:00
Alessio Treglia df94f522f9 Merge PR #3498: various improvements to gaiad gentx/init 2019-02-05 20:57:36 -08:00
Alessio Treglia ac1d2c73b2 Merge PR #3500: Update RELEASE_PROCESS.md 2019-02-05 19:09:25 +01:00
Joon f15ad04a57 Merge PR #2605: Paramstore Subkey 2019-02-04 18:13:04 -08:00
Alexander Bezobchuk 082295172e Merge PR #3447: Consume Gas Proportional to Tx Size 2019-02-04 15:35:12 -08:00
Alessio Treglia 857a65dc61 gaiacli switches back to insecure mode by default (#3470) 2019-02-01 19:06:54 -08:00
Alexander Bezobchuk 097a640412 Allow Simulation and Gen Only in REST Client (#3467) 2019-02-01 17:04:13 -08:00
Alessio Treglia 45d59b0792 Merge PR #3464: Upgrade to go 1.11.5 2019-02-01 02:20:58 +01:00
Alexander Bezobchuk 3864d5b1bd Query all Delegator Distribution Rewards (#3433) 2019-01-29 16:06:38 -08:00
Alexander Bezobchuk 90797f5e09 Gaia Lite Generate Only Support (w/o Keybase) (#3396) 2019-01-29 11:22:47 -08:00
Alexander Bezobchuk 1a656e7023 Merge PR #3425: Add Vesting Account Genesis Validation 2019-01-29 19:11:33 +01:00
Sunny Aggarwal 3e6ce3de8d Merge PR #3103: Tombstone specification 2019-01-29 19:10:35 +01:00
Zach bb76903230 fix docs navbar RPC link (#3414) 2019-01-28 12:41:28 -08:00
gamarin2 7988686e75 Update docs get_vendor_deps -> vendor-deps (#3402) 2019-01-28 09:49:13 -08:00
Jack Zampolin 9440c3c272 Merge PR #3385: Docs Hotfix 2019-01-25 12:13:56 +01:00
frog power 4000 dc75eb4eb8 Merge PR #3372: Limit unbonding delegation / redelegations 2019-01-24 23:44:31 +01:00
Jack Zampolin af60c75dd3 Merge PR #3352: Reenable simulation tests 2019-01-24 22:01:32 +01:00
Zaki Manian f5e6685dfd Merge Pull Request #3241: Add Fee & Gas Spec 2019-01-24 08:38:27 -08:00
Jack Zampolin 0043912548 Merge PR #3338: Remove unused code and examples 2019-01-24 11:18:45 +01:00
Christopher Goes b5e245fee3
Merge PR #3333: F1 storage efficiency improvements 2019-01-23 12:37:03 +01:00
Jack Zampolin 9f50c9f5b6
R4R: Ensure all CLI queries respect output flags (#3320) 2019-01-22 09:28:39 -08:00
Alessio Treglia cffa39cf44 Add bash completion for gaiad and gaiacli (#3334) 2019-01-21 19:42:15 -08:00
frog power 4000 7f789d2ed3
Merge PR #3281: Staking Spec Upgrade
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* spec folder cleanup

* cleanup docs folder cont.

* ...

* find-replace and folder rename

* supplimentary find/replace

* pending

* supplimentary

* pending

* few undos, stakingd -> staked

* to staking -> to stake

* undos

* most staking -> most stake

* ...

* undos

* simplestake->simplestaking

* ...

* pending update

* capital letter replacements

* ...

* working

* staking doc updates from rigel/delegation-index branch

* spec-spec

* spec-spec

* LooseTokens -> NotBondedTokens

* staking state.md updates

* updates to hook and endblock spec

* Update docs/gaia/gaiacli.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* Update docs/gaia/validators/validator-setup.md

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* comment undo

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* further updates to endblock and state

* msg json update

* working transaction updates

* working

* complete transaction rewrite

* PENDING.md

* typo

* add todo

* address @jackzampolin @cwgoes comments

* couple leftover comments, rename

* Update x/staking/types/pool.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* cwgoes additions

* cwgoes suggestions x2
2019-01-21 19:52:03 -05:00
Thane Thomson 332a5a34c5 Merge PR #3142: Basecoind BECH fixes
Adds a function to initialise the Cosmos SDK to use the same Bech32
prefixes as those which basecli uses.
2019-01-21 18:59:35 -05:00
Christopher Goes f65ae49356
Merge PR #3319: Distribution Queriers & CLI query commands 2019-01-18 20:38:40 +01:00
Alexander Bezobchuk 36d1736a08 Refactor Gas/Fee Model (#3258) 2019-01-18 08:45:20 -08:00
frog power 4000 8f7a222308 Merge PR #3314: Staking misc rename 2019-01-17 18:53:22 +01:00
Alexander Bezobchuk f2e87ad81f Merge PR #3308: Genesis Vesting Accounts & Simulation
* Update vesting spec and impl time fields and constructors
* Update genesis to support vesting accounts
* More spec and godoc updates
* Update genesis section in vesting spec
* Fix bank unit tests
* Add test cases to ToAccount in genesis
* Update RegisterCodec to include vesting interface and types
* Fix GetVestedCoins bug where block time is past vesting end time
* Add vesting accounts to simulation
* Update vesting genesis logic to panic on invalid accounts
* Change randomness of vesting accounts in simulation
2019-01-17 17:15:13 +01:00
Alessio Treglia 20bcacfaf4 Merge PR #3316: Fix regression in gaiacli config file handling
* --chain-id must be a persistent flag to be successfully read from config
* Prevent panic when not enough arguments
* Add docs on gaiacli config
* Small tweak
2019-01-17 16:40:34 +01:00
Christopher Goes 2942f83ff5
Merge PR #3099: F1 fee distribution 2019-01-16 22:38:05 +01:00
Alessio Treglia 26cb0a125a Multi-signature workflow support (#3264)
- New keys add --multisig flag to store multisig keys
  locally.
- New multisign command to generate multisig
  signatures.
- New sign --multisig flag to enable multisig mode.
- Add multisig transactions support in ante handler.
- gaiad add-genesis-account can now take both account
  addresses and key names.

Closes: #3198
2019-01-16 09:30:57 -08:00
frog power 4000 133934ae37
Merge PR #3243: allow multiple simultaneous redelegations/ubds between same delegator/validator(s) addresses
* remove kv seperation for marshalling

* pending

* cleanup

* cleanup x2

* pending

* working

* minor refactors

* entry structs defined

* uncompiled mechanism written

* add many compile fixes

* code compiles

* fix test compile errors

* test cover passes

* ...

* multiple entries fix

* ...

* more design fix

* working

* fix test cover bug

* Update PENDING.md

* update comment around queue completion for redelegations/ubds

* basic spec updates

* remove ErrConflictingRedelegation

* @cwgoes comments are resolved

* Update x/staking/keeper/slash.go

Co-Authored-By: rigelrozanski <rigel.rozanski@gmail.com>

* address @alexanderbez comments
2019-01-16 05:35:18 -05:00
cong 916ea85630 Merge PR #2730: add tx search pagination related CLI/REST API parameter 2019-01-15 16:34:48 +01:00
gamarin2 11738de624 What is gaia intro to docs (#3294) 2019-01-14 13:03:18 -08:00
Alexander Bezobchuk a984a22373 Merge PR #2694: Vesting Account(s) Implementation 2019-01-14 17:11:24 +01:00
frog power 4000 78a21353da Rename stake/ to staking/ (#3280) 2019-01-11 12:08:01 -08:00
Alessio Treglia df567616a9 Upgrade tendermint to 0.28.0-dev0 (#3279) 2019-01-11 09:19:01 -08:00
Sunny Aggarwal 4aec6cd41c R4R: Tombstone Implementation (#3225) 2019-01-10 17:22:49 -08:00
Hleb Albau 867f8a7467 Merge PR #3195: Configurable pruning. Fix docs and create strategies const. 2019-01-09 16:06:22 +01:00
Federico Kunze 74aa9844fc Fix swagger (#3232) 2019-01-08 08:13:04 -08:00
Dev Ojha e855780df7 Merge PR #3216: F1: Add O(1) slashing section
* Add O(1) slashing section
* Update abstract
2019-01-07 07:33:13 +01:00
gamarin2 7ff29246df Fix broken docs links and other small docs improvements (#3218) 2019-01-03 08:08:10 -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
Nicolas Pinto 0d63c92be1 Merge PR #3154: minor doc update to validator-setup 2018-12-27 01:17:25 -05:00
Alexander Bezobchuk b0662aa4f6 Implement Proposal Proposer client interfaces (#3184) 2018-12-21 09:30:46 -08:00
Alessio Treglia abbd2d4dd3 Change --gas=simulate to --gas=auto when sending txs (#3170) 2018-12-20 11:21:07 -08:00
Alexander Bezobchuk 217a2925dc Auth Module Param Store (#2998) 2018-12-20 11:09:43 -08:00
Alessio Treglia 0c0bff7ea0 Fix Makefile's all target (#3085)
- Rename get_dev_tools to devtools
- tools and devtools now create a stamp after execution so
  that they are not executed twice on the same pipeline
- Add clean target to remove stamps
2018-12-20 10:03:59 -08:00
Alexander Bezobchuk 5a13e75367 Tags Cleanup & Docs (#3137) 2018-12-19 19:28:38 -08: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
Zach 5241c3c7c1 go one.eleven.four (#3169) 2018-12-19 11:41:59 -08:00
gamarin2 d98745fbb2 Improve SDK Intro (#3149) 2018-12-19 11:41:30 -08:00
Harun Đulić 7c8a76a093 Fix link to ABCI in SDK Application Architecture (#3167) 2018-12-19 09:07:22 -08:00
Jack Zampolin 0360b12075
Remove unimplemented gaiacli init command (#3156) 2018-12-19 08:25:27 -08:00
Zach 26fc5163e3 Update go version in docs (#3123) 2018-12-18 12:48:30 -08:00
Alessio Treglia 500fa2b694 Make coins denoms case insensitive (#3092) 2018-12-18 11:14:11 -08:00
Zach ec9c4ea543 Add RPC docs link to docs navbar (#3131) 2018-12-17 16:04:39 -08:00
Zach 131f93b898 Update docs README (#3124) 2018-12-17 09:22:11 -08:00
Alexander Bezobchuk 110fd63e22 Add Slashing Query Params (#3117) 2018-12-14 11:09:39 -08:00
Zach 5802becf09 Docs configuration changes (#3106) 2018-12-13 10:16:23 -08:00
Arve Knudsen 0ccdb204e3 Fix directory listing in intro (#3097)
Fix directory listing in SDK intro so that it gets the path to the examples right (docs/examples/ as opposed to examples/).
2018-12-13 09:55:28 -08:00
zramsay f97b5070d1 docs: algolia full-text search 2018-12-13 09:48:55 -05:00
Jack Zampolin 9ae3a8a04e
Docs: Reference -> Concepts (#3090) 2018-12-12 15:00:53 -08:00
Artur Albov 0c6d53dc07 Merge PR #2959: Add TxEncoder to client TxBuilder 2018-12-12 22:29:42 +01:00
Federico Kunze f0ba58e422
Update docs/.vuepress/config.js
Co-Authored-By: gamarin2 <gautier@tendermint.com>
2018-12-12 21:56:57 +01:00
gamarin a0a49d80a7 sdk tuto sidebar 2018-12-12 17:37:35 +01:00
gamarin 93e3d2950d merge 2018-12-12 14:17:07 +01:00
gamarin e1d9fac340 reference to concepts 2018-12-12 14:16:00 +01:00
Alessio Treglia f5e0379ef5 Merge PR #3087: Fix gaia lite docs on REST server's SSL flags
* Fix gaia lite docs on REST server's SSL flags

Closes: #3086

* Fix rest-server command call

Advanced was removed long ago
2018-12-12 13:17:15 +01:00
Dev Ojha a31dc20e6a Merge PR #2990: Update f1 spec
* Update f1 spec:

* Improves exposition of the base scheme
* Fix inflation section / add sketch of how to do it
* Add future work section

I've also realized that using the ideas of the inflation section,
we could even remove the iteration over slashes when withdrawing!
(Note, inflation section equations / proof of correctness has not been
thoroughly transcribed from my head onto paper, so its not guaranteed to
be correct at the moment. However the inflation section of this describes
something separate from inflation in the hub. It has inflation happen by
having each staked token produce more staked tokens, instead of having it come
through block rewards. This inflation can also happen per validator,
so as to enable non-signing validators to not get inflation)

* Fix grammar

Co-Authored-By: ValarDragon <ValarDragon@users.noreply.github.com>

* Add proof of correctness to the inflation section

* Re-update PDF after merging chris' fixes

* address more of @cwgoes' suggestions
2018-12-12 13:13:53 +01:00
Jack Zampolin b2f458ab48
Update broken links (#3035) 2018-12-11 11:52:22 -08:00
zramsay 490a8d61c0 update release test script links, closes #2606 2018-12-11 14:40:25 -05:00
zramsay e46afe00d6 make sidebar titles nicer 2018-12-11 12:12:29 -05:00
Alessio Treglia 24a1670cf0 Run make format 2018-12-10 14:27:25 +00:00
Sunny Aggarwal 945803d586 Governance Quorum (#3053) 2018-12-10 02:50:20 -08:00
Christopher Goes ba5e87ca6f x/auth module spec / code reconciliation (#2964) 2018-12-05 16:48:08 -08: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
Jack Zampolin 07b0ad3c9e Merge PR #2987: Add shorthand flag to address output on gaiacli keys show and update docs
* Add shorthand flag to address output on gaiacli keys show

* Update docs and add PENDING

* Update client/keys/show.go

Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>

* pk -> p
2018-12-04 17:38:43 +01:00
Jack Zampolin 886bd35670
Address gov cli ux issues and add additional input validation for better errors (#2938)
* Fix governance cli ux issues and add additional transaction validation
2018-12-03 12:48:51 -08:00
Zach fedecd5436 docs: add tutorial to sidebar (#2865)
* add tutorial
2018-12-03 08:23:49 -08:00
gamarin2 5c5ea48623 Improve testnet docs (#2928)
* improve testnet docs
2018-12-01 09:54:59 -08:00
Christopher Goes 98caf44e35
Merge PR #2853: Write bank module specification, check spec/code consistency
* Update PENDING.md

* New structure

* Start transactions section

* Remove MsgIssue

* Update keepers.md

* Add state.md

* Update keepers.md, discovered #2887

* Move inputOutputCoins to BaseKeeper

* Remove no-loner-applicable tests

* More spec updates

* Tiny cleanup

* Clarify storage rationale

* Warn the user

* Remove extra newline
2018-11-29 22:56:42 +01:00
Alessio Treglia c3965f5509 Remove inconsistent gaiacli keys new/add dualism (#2904)
* Remove inconsistent gaiacli keys new/add dualism
2018-11-29 12:59:41 -08:00
Jack Zampolin ddab04e55f
R4R: Update single node network bootstrapping documentation (#2931)
* Update single node network bootstrapping documentation to reflect changes to gentx
* Update docs/gaia/networks.md
* Address PR comments
2018-11-29 12:39:09 -08:00
Hendrik Hofstadt ca43225851 Merge PR #2943: Fix tag usage in handlers and EndBlocker
* Fix tag usage in handlers and EndBlocker
* Prepend action tag in baseApp
* Fix LCD
* Remove unnecessary conversion
* Fix invalid consensus pubkey in CLI tests
* Fix tag usage in cli_test
* Shorten bechify in test
* Update docs and PENDING
2018-11-29 15:34:57 +01:00
BigManing 619b60f207 Merge PR #2908: Fix file path error 2018-11-28 00:10:12 +01:00
Christopher Goes 1a18a428a4
Merge PR #2842: Fix tx search 2018-11-28 00:09:14 +01:00
Federico Kunze 7cf5da2f72 address Chris' comments 2018-11-28 00:00:38 +01:00
Aleksandr Bezobchuk 252030c6b6 Update examples 2018-11-27 16:09:20 -05:00
Federico Kunze 9c85e935fd Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2819-fix-tx-search
Merge develop
2018-11-27 16:38:08 +01:00
Federico Kunze 666fafb97a add other tests and update docs 2018-11-27 15:16:33 +01: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
Alessio Treglia 469b8eff6b R4R: Update genesis docs (#2833)
* Extend validator-setup.md
2018-11-26 12:21:09 -05:00
Christopher Goes ad121f1498 Add a flag to export for zero-height start (#2827)
Closes #2812

This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.

It also:

* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -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
Christopher Goes c21961b21d
Merge PR #2886: Don't get command through client.{Get,Post}Commands()
* Don't get command through client.{Get,Post}Commands()

Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-26 12:46:22 +01:00
Sunny Aggarwal b7da2eaa33 Merge PR #2799: Account numbers and sequences to uint64 2018-11-26 12:29:21 +01:00
rigelrozanski 0861112b70 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-22 12:34:41 -05:00
Alessio Treglia c22b400ba8 Add missing cmd 2018-11-22 15:49:56 +00:00
Alessio Treglia b8b502c43a Same for democli 2018-11-22 14:42:35 +00:00
Alessio Treglia c245a3deb1 Don't get command through client.{Get,Post}Commands()
Logic has changed recently and commands are now enriched
with flags by default.

Closes: #2884
2018-11-22 13:51:51 +00: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
rigelrozanski 70e60c2f30 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-21 01:51:56 -05:00
Jae Kwon bd982b1423 Merge reference/baseapp and spec/baseapp/WIP_abci_application.md 2018-11-20 20:23:09 -08:00
Jae Kwon 10bdf8fa03 Store ConsensusParams to main store 2018-11-20 16:44:49 -08:00
Alexander Bezobchuk 41fc538ac7 Add Safety Measures to Coin/Coins (#2797) 2018-11-20 01:22:35 -08:00
rigelrozanski 56dc2363fa Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-20 02:58:33 -05:00
Alexander Bezobchuk 6e813ab3a8 Change gas & related fields to unsigned integer type (#2839)
* Change gas & related fields to unsigned integer type
* Implement AddUint64Overflow
2018-11-19 09:13:45 -08:00
Jack Zampolin f525717054
Standardize CLI Exports from Modules (#2840)
* Move query and tx commands to modules
* Move GetAccountDecoder to prevent import cycle and replace calls to it with one call in WithAccountDecoder
* Add moduleClients interface and implement in all applicable modules
* Use module clients in cli initialization
2018-11-19 09:02:34 -08:00
Jack Zampolin 9676ce7d48
Expose LCD router, allowing devs to register custom routes from their modules (#2836)
* Fixes #1081
2018-11-16 14:21:36 -08:00
Alexander Bezobchuk 15b6fa0959 Cache-wrap context during ante handler exec (#2781)
* Use cache-wrapped multi-store in ante
* Implement TestBaseAppAnteHandler
* Add reference documentation for BaseApp/CheckTx/DeliverTx
2018-11-16 10:33:47 -08:00
Sunny Aggarwal 8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08:00
Zach ca2270c87e Merge PR #2831: Fix dead link 2018-11-16 14:48:38 +01:00
rigelrozanski 4818e67145 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-16 03:32:55 -05:00
gamarin2 e04d32c8d5 DOCS: fix links and add cli to sidebar (#2830)
* fix links and add cli to sidebar
2018-11-15 11:54:54 -08:00
Alessio Treglia 815a6de82f R4R: Remove AppInit (#2801)
* Remove AppInit
* Update PENDING.md
2018-11-15 10:01:19 -08:00
rigelrozanski 2a594fe338 basic cwgoes comments 2018-11-15 11:13:18 -05:00
Alessio Treglia 7b7d45ddd2 Merge PR #2800: Limit total number of signatures per transaction
* Limit total number of signatures per transaction
* Fail if limit is exceeded
* Loop over all sigs and count subkeys
* No need for a type switch, adopt early return
* Test rejection logic
* Mention sigs limit
2018-11-15 15:30:24 +01:00
Christopher Goes ac0319fd3c Update docs 2018-11-14 18:23:20 -08:00
Christopher Goes 17b9afaaa7 Export specific height 2018-11-14 18:23:20 -08:00
Zach 555b61e3ae deleted obsolete file (#2817) 2018-11-14 14:32:41 -08:00
Jack Zampolin 0453992ddb
Update contributing.md with new merge policy (#2789)
* Update contribuiting.md with new merge policy
2018-11-14 13:12:03 -08:00
rigelrozanski 90217e2313 docs and pending 2018-11-14 15:14:34 -05:00
gamarin2 7f07e93601 Bring back banner (#2814) 2018-11-14 12:01:59 -08:00
rigelrozanski 7be5179982 Merge remote-tracking branch 'origin/develop' into rigel/deliver-max-gas 2018-11-14 14:45:02 -05:00
gamarin2 addcfbf5cb Documentation Structure Change and Cleanup (#2808)
* Update docs/sdk/clients.md
* organize ADR directory like tendermint
* docs: move spec-proposals into spec/
* remove lotion, moved to website repo
* move getting-started to cosmos-hub, and voyager to website
* docs: move lite/ into clients/lite/
* move introduction/ content to website repo
* move resources/ content to website repo
* mv sdk/clients.md to clients/clients.md
* mv validators to cosmos-hub/validators
* move deprecated sdk/ content to _attic
* sdk/modules.md is duplicate with modules/README.md
* consolidate remianing sdk/ files into a single sdk.md
* move examples/ to docs/examples/
* mv docs/cosmos-hub to docs/gaia
* Add keys/accounts section to localnet docs
2018-11-14 11:44:17 -08:00
Rigel 6feab55e1e
Merge PR #2765: Slight cleanup of distribution specification
[R4R] Slight cleanup of distribution specification
2018-11-14 13:53:11 -05:00
Alexander Bezobchuk bba7a3053d
Update overview.md 2018-11-14 13:26:31 -05:00
Rigel b1a1f192fb
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:55 -05:00
Rigel 4b5be088c4
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:26 -05:00
Rigel 9118cd7e13
Update docs/spec/distribution/overview.md
Co-Authored-By: alexanderbez <alexanderbez@users.noreply.github.com>
2018-11-14 11:58:00 -05:00
Sunny Aggarwal d1614ebb7e R4R: Query Gov Params (#2576)
* gov query params
2018-11-13 15:45:37 -08:00
Aleksandr Bezobchuk 46b331de07 Address PR review 2018-11-13 09:02:19 -05:00
Aleksandr Bezobchuk 795a76d489 More cleanup 2018-11-11 15:53:43 -05:00
Aleksandr Bezobchuk 338b49b2cd Slight distribution spec cleanup 2018-11-11 15:51:27 -05:00
Christopher Goes 4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-09 15:28:03 +01: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
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
Christopher Goes dfddac394d Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-05 11:56:32 +01:00
Alexander Bezobchuk 50926fffff Update to TM v0.26.0 - Part I (#2679)
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Sunny Aggarwal 4c3ac3f512 addressed comments 2018-11-03 22:56:33 -07:00
Alexander Bezobchuk c5238b0d1e Merge PR #2589: Update Vesting Spec 2018-11-01 23:13:40 +01:00
Zach ddba4fc810 Merge PR #2657: Fix config.js 2018-11-01 23:12:22 +01:00
Alessio Treglia bb734c43c6
Docs updated 2018-10-31 13:42:42 +00:00
Rigel 89047d8ebd Merge PR #2642: Add todo diagrams 2018-10-31 12:07:06 +01:00
Jae Kwon 1538ab8de9
Merge branch 'develop' into release/v0.25.0 2018-10-30 17:54:54 -07:00
zramsay ba7ed9d7cb fix flags in docs, closes #2530 2018-10-29 13:42:44 -04:00
Federico Kunze 855e0ac70a Merge PR #2596: Cmds for validator unbondings and redelegations 2018-10-28 22:28:12 +01:00
Christopher Goes 9c28c69c40 Rectify validator setup documentation 2018-10-26 16:33:27 +02:00
Christopher Goes 860245e6fa '--voter' is no longer required 2018-10-26 16:09:17 +02:00
Christopher Goes 8288490430 More docs fixes 2018-10-26 15:57:18 +02:00
Christopher Goes cce48dc68c Docs fixes in progress while running through the release process 2018-10-26 15:47:07 +02:00
Christopher Goes a9d9eb578c Merge branch 'master' into release/v0.25.0 2018-10-24 15:35:47 +02:00
Christopher Goes c577831261
Merge PR #2554: Make `gaiacli keys show` multisig-ready 2018-10-24 15:24:12 +02:00
Alessio Treglia 68f869a24d
s/number/weight/ 2018-10-23 18:16:03 -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 33c8238392 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-23 17:54:58 +02:00
ValarDragon 48b8775121 F1 fee distribution draft 00
This was written up in latex, because github markdown doesn't support latex.
2018-10-22 17:56:31 -07:00
Christopher Goes 7f43860ca9 Merge branch 'cwgoes/check-supply-in-simulation' of github.com:cosmos/cosmos-sdk into cwgoes/check-supply-in-simulation 2018-10-23 02:39:25 +02:00
Alessio Treglia ca049fd453
Add some docs 2018-10-22 13:43:18 -07:00
rigelrozanski 278d23776b call hook on slashing 2018-10-22 14:59:00 -04:00
Alessio Treglia 6014089fa1
Rename AccountMapper to AccountKeeper
Closes: #2540
2018-10-20 23:22:48 -07:00
Christopher Goes c9e5c324c4 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-20 01:40:18 +02:00
Federico Kunze 57277d1143 Merge PR #2537: Staking REST utils refactor and querier tests (pt 1 redelegation PR) 2018-10-20 00:49:10 +02:00
Christopher Goes 7770aec306 Withdraw rewards on bonded to unbonding 2018-10-20 00:13:44 +02:00
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