Commit Graph

801 Commits

Author SHA1 Message Date
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