Commit Graph

4439 Commits

Author SHA1 Message Date
Christopher Goes cca2f9db43
Merge PR #2506: types: Dec.MarshalJSON now marshals as a normal decimal string 2018-10-21 04:24:15 +02:00
ValarDragon 1a463eb056 make more clear 2018-10-20 18:02:17 -07:00
Federico Kunze 77d7fb0ba5 add comment 2018-10-20 22:42:22 +02:00
Federico Kunze 3af2a09c3d Delete Delegation 2018-10-20 22:39:03 +02:00
ValarDragon 864ca4e982 Merge branch 'dev/change_dec_marshaljson' of github.com:cosmos/cosmos-sdk into dev/change_dec_marshaljson 2018-10-20 13:32:59 -07:00
ValarDragon c2d68928e7 Switch to new Decimal.String() implementation 2018-10-20 13:32:43 -07:00
Federico Kunze debed9cd38 Fixed exported queriers 2018-10-20 22:31:26 +02:00
Federico Kunze fea21ac446 PENDING 2018-10-20 22:28:23 +02:00
Federico Kunze 152b3bd67b Split delegator summary endpoint 2018-10-20 22:25:50 +02:00
Dev Ojha 73bfd6c747
Merge branch 'develop' into dev/change_dec_marshaljson 2018-10-20 13:05:27 -07:00
Federico Kunze 864d7b61a6 Update PENDING 2018-10-20 21:36:58 +02:00
Federico Kunze 8999a4d719 Add validator unbonds 2018-10-20 21:30:07 +02:00
Federico Kunze 5e1720b6cb Added LCD tests 2018-10-20 21:10:19 +02:00
Federico Kunze 9cdd2d07ef PENDING and minor querier test 2018-10-20 20:38:07 +02:00
Federico Kunze 15371dc364 Validator redelegation endpoint and querier 2018-10-20 20:31:20 +02:00
Cong Zhao 6c623b203e #1255 make keybase opened with readonly option to support better parallelization between gaiacli 2018-10-20 20:26:15 +08:00
Christopher Goes c9e5c324c4 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-20 01:40:18 +02:00
Christopher Goes c88fc481d4 Fix linter issues 2018-10-20 01:05:07 +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 255a6a5db8 Cleanup to one hook 2018-10-20 00:19:10 +02:00
Christopher Goes 7770aec306 Withdraw rewards on bonded to unbonding 2018-10-20 00:13:44 +02:00
rigelrozanski a6ef3c42aa use power instead of total tokens 2018-10-19 17:41:39 -04:00
Christopher Goes dc13a0c61d Use InflateSupply instead 2018-10-19 23:06:18 +02:00
Christopher Goes 1afb5bf9d2 Simulate minting, fix bug where pool was not updated 2018-10-19 23:01:23 +02:00
Christopher Goes 843ccaf615 Remove comment 2018-10-19 22:33:21 +02:00
Christopher Goes 2e8f354367 Fixup stake hooks (hopefully...) 2018-10-19 22:26:28 +02:00
Christopher Goes 6c9ad8c031 Add sanity checks 2018-10-19 21:58:05 +02:00
Christopher Goes 4f719d60cd Remove the print statement 2018-10-19 20:59:51 +02:00
Rigel d9916f99eb bugfix (#2535) 2018-10-19 20:58:37 +02:00
Christopher Goes 22cb6983b7 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-19 20:36:55 +02:00
Rigel b48d0d5623 Merge PR #2527: Minting 2018-10-19 20:36:00 +02:00
Christopher Goes 375e821e98 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-19 20:02:48 +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
Christopher Goes c3d3a7935b Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-19 19:50:54 +02:00
Federico Kunze ad355d6c69 Merge PR #2444: Standardize REST error responses 2018-10-19 18:55:20 +02:00
Christopher Goes d21f93afb0 Simulation debugging contd. 2018-10-19 03:55:14 +02:00
Christopher Goes 4779359e29 Linter, enable simulated distribution msgs again 2018-10-19 03:21:11 +02:00
Christopher Goes 42ae2671c2 Simulation fixes work-in-progress 2018-10-19 03:08:25 +02:00
Christopher Goes 25ce0dea00 Update stake module simulation and fix linter errors 2018-10-18 22:08:00 +02:00
Christopher Goes 06c7e27115 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-18 21:59:38 +02:00
Christopher Goes e099491daa
Merge PR #2526: Distribution fixes from simulation 2018-10-18 21:58:57 +02:00
Sunny Aggarwal 505c356f20 Merge PR #2514: Refactor validator deletion 2018-10-18 21:58:18 +02:00
Christopher Goes f527163d8a Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-18 21:08:57 +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
Christopher Goes 74780c6608 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-18 02:51:54 +02:00
Zach ce23ad41ce Merge PR #2447: Cleanup docs/light 2018-10-18 02:46:03 +02:00
Alessio Treglia ad05d7cc33 Merge PR #2523: Remove 'import "C"' from client/utils package 2018-10-18 00:49:57 +02:00
Jack Zampolin 2e59e2626b Merge PR #2510: Update PRIORITIES.md 2018-10-17 21:41:36 +02:00
David Braun e845569d16 Merge PR #2496: Add example to Swagger specification for /keys/seed 2018-10-17 20:25:02 +02:00
Ethan Buchman 1ee8deed2b Merge PR #2090: Improve crypto/keys and add `keys mnemonic` and `keys new` commands
* crypto/keys/hd: use btcec to remove dep on tendermint

* crypto/keys/bcrypt: improve comment about fork

* crypto/keys/bip39 -> crypto/keys/bip39/fundraiser

* crypto/keys/bip39: bring in fork of tyler-smith

* crypto/keys/hd: update dep

* crypto/keys: update deps

* crypto/keys: move mintkey.go into new crypto/keys/mintkey

* crypto/keys/hd: NewParamsFromPath

* crypto/keys: keybase.Derive takes a bip39 passphrase too

* crypto/keys/hd: BIP44Params.DerivationPath

* gaiacli keys: add commands new and mnemonic

* fix lints

* minor fixes from review

* update Gopkg.toml

* add tendermint fork of golang.org/x/crypto
* pin some transitive deps

* crypto/keys/bcrypt: remove

* remove in favour of fork of golang.org/x/crypto/bcrypt at github.com/tendermint/crypto/bcrypt

* crypto/keys/bip39: remove completely

* use fork cosmos/go-bip39 instead

* Gopkg.toml: dont use master

* Pull in changes from my PR

* fixes from review

* enforce min len for --unsafe-entropy

* lint fix

* feedback from review

* fix dep
2018-10-17 13:37:58 -04:00