Commit Graph

4233 Commits

Author SHA1 Message Date
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
Federico Kunze ad355d6c69 Merge PR #2444: Standardize REST error responses 2018-10-19 18:55:20 +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
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
Christopher Goes c961a684c9
Merge PR #2517: SDK Sortable Time Format Test 2018-10-17 18:49:20 +02:00
Christopher Goes c4b9b4540a
Merge PR #2519: Fixed naming for proposal id and time 2018-10-17 18:48:02 +02:00
Christopher Goes 8ea1bbb4b1
Merge PR #2502: Add Google Analytics for documentation pages 2018-10-17 18:46:58 +02:00
Christopher Goes 2514d6d828 Merge branch 'develop' into nylira-patch-1 2018-10-17 18:39:01 +02:00
Federico Kunze e5b664f154 fixed naming for proposal id and time 2018-10-17 14:26:25 +02:00
Sunny Aggarwal b51d41a2e3 added sdk time format tests, const, and removed duplicate in stake module 2018-10-17 01:03:56 -07:00
Sunny Aggarwal e419396bd1 fixed time key marshal (#2516)
Do not use Amino Binary for key sorting.
2018-10-16 23:09:19 -07:00
Sunny Aggarwal 070bda3a25 Merge PR #2515: Fix gov deposit query lcd non-determinism
* non deterministic addr ordering

* sorted addrs at gen

* fixed comment

* fixed names and passwords
2018-10-17 00:55:36 -04:00
Christopher Goes b70c26af8a
Merge PR #2508: Fix validator power key 2018-10-16 22:08:56 +02:00
Christopher Goes 79ce52a41a
Merge PR #2458: Move linear to store 2018-10-16 21:57:42 +02:00
Christopher Goes d8038fcddc Update testcases & pending 2018-10-16 21:44:23 +02:00
Christopher Goes abef57a9e6 Utilize Tendermint power instead 2018-10-16 21:30:52 +02:00
Christopher Goes 55f4f61493
Merge PR #2480: Fix signing info handling bugs & faulty slashing 2018-10-16 20:21:24 +02:00
Christopher Goes 0d1104330f Fix merge rename 2018-10-16 19:42:51 +02:00
Christopher Goes 7d46b8b50c Alphanumeric parameter keys 2018-10-16 19:27:16 +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
rigelrozanski 32e0f14de2 rework to correctly use previous vote info 2018-10-15 22:09:13 -04:00
Christopher Goes c0ce451003 Merge #2500: Block conflicting redelegations
* Block conflicting redelegations

* Update PENDING.md

* Add conflicting redelegation testcase
2018-10-15 21:06:31 -04:00
Christopher Goes 6164640ffd
Merge PR #2491: Paramstore Followup 2018-10-16 01:08:58 +02:00
Christopher Goes f9877508e5 Address @rigelrozanski comments 2018-10-15 23:58:39 +02:00
Christopher Goes c0c5e293a8 iter.Close() 2018-10-15 23:09:56 +02:00
Christopher Goes 7bf8a41463 Fix typo 2018-10-15 23:09:16 +02:00
Christopher Goes e3fa9820ec Fix linter warning 2018-10-15 23:06:46 +02:00
rigelrozanski 03b92603ed oh 2018-10-15 17:03:06 -04:00
Christopher Goes 83f7a4cb7b Bugfix; update slashing spec 2018-10-15 23:01:29 +02:00
rigelrozanski eaecde2790 test_utils >:( 2018-10-15 16:52:39 -04:00
rigelrozanski 076053d5b9 proposer reward params to global param 2018-10-15 16:12:42 -04:00
rigelrozanski 43e4396bec Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-15 15:52:01 -04:00
rigelrozanski 2f4a01bcba address @ValarDragon comments, param store update 2018-10-15 15:51:51 -04:00
Christopher Goes ec53a14b57 Fix testcases 2018-10-15 21:51:26 +02:00
Christopher Goes 9ec35a0ae4 Clear array when validator is jailed 2018-10-15 21:44:23 +02:00
Christopher Goes 096a8bb9ec Further clarification of nomenclature 2018-10-15 21:20:37 +02:00
Joon 047c3d1456
Merge branch 'develop' into joon/2490-copy-godocs 2018-10-16 04:14:40 +09:00
Christopher Goes 6e0f3d6baf Update function names to clarify semantics 2018-10-15 21:11:32 +02:00
mossid c903f39d1f update PENDING 2018-10-16 04:11:31 +09:00
mossid 27b8322a27 split test 2018-10-16 04:09:41 +09:00
Christopher Goes fa372d3b82 Test correct JailedUntil 2018-10-15 21:08:56 +02:00
Christopher Goes 2c4d9a0be4 Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-15 21:04:49 +02:00
mossid 9d809d7855 Merge branch 'develop' into joon/2406-move-linear 2018-10-16 03:18:04 +09:00