Commit Graph

754 Commits

Author SHA1 Message Date
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
Christopher Goes
2bff5c2838
Merge PR #2748: Fix governance simulation, more import/export work 2018-11-14 19:20:50 +01:00
Sunny Aggarwal
d1614ebb7e R4R: Query Gov Params (#2576)
* gov query params
2018-11-13 15:45:37 -08:00
Jack Zampolin
f38f57dfb2 Fix CLI tests 2018-11-13 11:33:03 -08:00
Jack Zampolin
4ebe99b00f add back in CLI command after rebase 2018-11-13 11:10:06 -08:00
Jack Zampolin
695395aca8
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-13 11:07:36 -08:00
Jack Zampolin
12ad39ea96
R4R: Reorganize CLI command structure. (#2728)
* Reorganize CLI command structure. Fixes #2575
2018-11-13 11:03:47 -08:00
Jack Zampolin
17c119dff7 Fix failing test 2018-11-13 08:27:42 -08:00
Christopher Goes
10713e3c8a Working on stake import/export 2018-11-13 15:08:14 +01:00
Jack Zampolin
b255a7d59f
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-12 14:09:18 -08:00
Aleksandr Bezobchuk
964123356b Fix required flag 2018-11-12 15:44:59 -05:00
Jack Zampolin
4df780b1dc
Merge branch 'develop' into bez/require-moniker-init 2018-11-12 12:08:38 -08:00
Jack Zampolin
ac8f2dabd4
Merge branch 'develop' into jack/query-tx-reorg 2018-11-12 11:10:52 -08:00
Christopher Goes
0228d8f694
Merge branch 'develop' into dev/sim_msg_edit_val 2018-11-12 19:57:54 +01:00
Alessio Treglia
70826495b8 Merge PR #2752: Don't hardcode bondable denom 2018-11-12 19:54:18 +01:00
Aleksandr Bezobchuk
8c14b1d77f Fix test coverage 2018-11-12 08:45:05 -05:00
Aleksandr Bezobchuk
08a1667246 Require moniker instead of generating a random one 2018-11-12 08:27:26 -05:00
Aleksandr Bezobchuk
29bec833f3 Update moniker prefix 2018-11-12 08:16:47 -05:00
Aleksandr Bezobchuk
156370ea9c Generate random moniker when missing 2018-11-12 08:15:08 -05:00
Jack Zampolin
056e75c30b
Merge pull request #2704 from cosmos/alessio/utility-to-add-accts-to-genesis
R4R: Add small utility to add account to genesis.json after gaiad init
2018-11-09 09:40:46 -08:00
Alessio Treglia
201abfec8c Add --chain-id to testnet command 2018-11-09 15:25:14 +00:00
Christopher Goes
4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-09 15:28:03 +01:00
Alessio Treglia
8a7c4900f4 s/WriteGenesisFile/ExportGenesisFile/ 2018-11-09 10:59:11 +00:00
Alessio Treglia
4f6f8e09ae Add small utility to add account to genesis.json after gaiad init 2018-11-09 10:52:28 +00: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
Federico Kunze
0ff12bb57a
Update cmd/gaia/cmd/gaiacli/main.go
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
2018-11-08 08:25:18 -08:00
Jack Zampolin
8f4c7df033 Address PR comments 2018-11-08 08:24:34 -08:00
Jack Zampolin
1aae086f49 Fix typo 2018-11-07 16:48:55 -08:00
Jack Zampolin
0ab5d7639b Fix gobash CLI testing 2018-11-07 16:42:34 -08:00
Jack Zampolin
cade5f552c Address linting issues 2018-11-07 15:38:30 -08:00
Jack Zampolin
c20e383d7f Fix missing flags issue 2018-11-07 15:35:12 -08:00
Jack Zampolin
d4fb6d4ebe Reorganize CLI command structure. Fixes #2575 2018-11-07 15:03:00 -08:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val 2018-11-07 13:26:00 -08:00
Alexander Bezobchuk
4f46a4c4d5 Update testnet to use canonical genesis time (#2692)
* Update testnet to use canonical genesis time
* Fix linting in genesis test
2018-11-07 00:19:06 -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
Christopher Goes
37abad4cc3 'make format' 2018-11-05 11:47:19 +01:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny (#2677)
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -08:00
Christopher Goes
256ec0f07b Simulation improvements (logging fix, random genesis parameters) (#2617)
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface

Closes #2556
Closes #2396

Via #2671:
closes #2669
closes #2670
closes #2620

Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alessio Treglia
c20fcbfd8f New genesis workflow (#2602)
New genesis workflow:
* `gaiad init` is now used to generate an empty `genesis.json`.
* Genesis accounts need to be populated manually before running
  `gaiad collect-gentxs`.
* This should support starfish too, see #2615 for more info.
* Closes: #2596 #2615
* Validate validator address and address against respective account ex ante
* Fix local testnet failures
* New genesis tests
* Run make format
* Add --pubkey flag
* gaiad collect-gentxs takes no args
2018-11-04 20:26:46 -08: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
f8b030aece cli fixes 2018-11-03 22:56:33 -07:00
Sunny Aggarwal
2d429731b3 LCD and CLI 2018-11-03 22:55:38 -07:00
svaishnavy
9cf53f25f7 Merge PR #2614: Configurable Bech32 prefix for SDK users 2018-10-31 20:13:13 +01:00
Alessio Treglia
53f1233f0a
s/--print-sigs/--validate-signatures/ 2018-10-31 13:42:42 +00:00
Alessio Treglia
a514295128
Fix integration tests 2018-10-31 13:42:42 +00:00
Alessio Treglia
e65c02dd42
Fix integration tests 2018-10-31 13:42:42 +00:00
Dev Ojha
0d8325b859 Merge PR #2623: Speedup simulator by switching to goleveldb
Due to requiring app.Commit() at the moment, golevel db is significantly faster than a memdb
2018-10-30 00:10:39 +01:00
Federico Kunze
855e0ac70a Merge PR #2596: Cmds for validator unbondings and redelegations 2018-10-28 22:28:12 +01:00
Rigel
d71f38bdac Merge PR #2597: Add distribution accum invariants 2018-10-26 13:42:53 +02:00