Commit Graph

1392 Commits

Author SHA1 Message Date
Alexander Bezobchuk
41fc538ac7 Add Safety Measures to Coin/Coins (#2797) 2018-11-20 01:22:35 -08: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
Christopher Goes
fd968f7d8f R4R: Remove unused bank.MsgIssue (and prevent possible panic) (#2855)
* Remove all bank.MsgIssue code
2018-11-19 07:42:53 -08:00
Sunny Aggarwal
8d6b0929fb Codespaces as Strings (#2821) 2018-11-16 09:12:24 -08: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
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
Christopher Goes
267728f025 Clarify comment 2018-11-13 15:46:14 +01:00
Christopher Goes
3686a3f47d Only apply validator set updates on initial genesis 2018-11-13 15:38:29 +01:00
Christopher Goes
10713e3c8a Working on stake import/export 2018-11-13 15:08:14 +01:00
Christopher Goes
d2a53539dd Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export 2018-11-13 14:23:15 +01:00
Federico Kunze
a6af76e4be Merge branch 'sunny/get_all_delegations_validator_querier' of https://github.com/cosmos/cosmos-sdk into sunny/get_all_delegations_validator_querier
Merge
2018-11-12 23:13:05 +01:00
Federico Kunze
7dfeb7d27d use newQuery...Params 2018-11-12 23:12:25 +01:00
Jack Zampolin
b255a7d59f
Merge branch 'develop' into sunny/get_all_delegations_validator_querier 2018-11-12 14:09:18 -08:00
Jack Zampolin
97c0251bf7 Fix redelegation command 2018-11-12 13:01:00 -08:00
Jack Zampolin
b9b6f26c97
Merge pull request #2761 from WALL-E/patch-1
fix typo
2018-11-12 12:21:31 -08:00
Jack Zampolin
0345f38639
Merge pull request #2682 from cosmos/dev/sim_msg_edit_val
R4R: Make the simulator create the new comission rate sensibly
2018-11-12 11:13:00 -08:00
Christopher Goes
bbf8e54616
Merge PR #2719: Cleanup bank keeper
* Cleanup bank keeper
* Address style comments
2018-11-12 20:06:28 +01:00
Christopher Goes
0228d8f694
Merge branch 'develop' into dev/sim_msg_edit_val 2018-11-12 19:57:54 +01:00
Jack Zampolin
b7daf23366 R4R: Fix unbonding command flow (#2727) 2018-11-12 19:55:24 +01:00
Alessio Treglia
70826495b8 Merge PR #2752: Don't hardcode bondable denom 2018-11-12 19:54:18 +01:00
Christopher Goes
2b3226854c Correctly set return code 2018-11-12 17:25:13 +01:00
Jae Kwon
183c7b21b2 use defer 2018-11-11 19:09:12 -08:00
zhangzheng
3bc245e198
fix typo
I think it might be a spelling mistake
2018-11-11 09:20:30 +08:00
Christopher Goes
241f6364e9 Merge branch 'develop' into cwgoes/fix-gov-sim-more-import-export 2018-11-09 16:55:20 +01:00
rigelrozanski
b1ba6a4455 add back in PeriodicInvariant 2018-11-09 10:31:56 -05:00
Christopher Goes
d761eb7282 Address remaining comments from #2690 2018-11-09 16:26:08 +01:00
Christopher Goes
8a58fdf634
Merge branch 'develop' into rigel/sim-cleanup 2018-11-09 16:16:01 +01: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
rigelrozanski
bfc7944b55 val comments 2018-11-08 10:32:53 -05:00
rigelrozanski
a9ef83bc4a compiling 2018-11-08 01:57:37 -05:00
rigelrozanski
5f289e5fdd event stats object, more general cleanup 2018-11-08 00:54:12 -05:00
rigelrozanski
eb16a01666 util cleanup 2018-11-08 00:22:16 -05:00
rigelrozanski
fee0763b5e mock tendermint 2018-11-08 00:12:51 -05:00
rigelrozanski
ff327049ee assertAllInvarients changes, Operation reorg 2018-11-07 23:55:48 -05:00
rigelrozanski
1ee6c3295d operations functions 2018-11-07 23:26:02 -05:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val 2018-11-07 13:26:00 -08:00
Aleksandr Bezobchuk
845dd68de0 Address style comments 2018-11-07 14:46:09 -05:00
rigelrozanski
4970754338 fix some duplicate to get passing 2018-11-07 14:42:00 -05:00
rigelrozanski
b5a205eb15 minimizing indentation 2018-11-07 12:19:58 -05:00
rigelrozanski
980dd78c62 rename ambig naming of queueOperations 2018-11-07 12:00:13 -05:00
rigelrozanski
ea7a5ea1a8 reorganize more 2018-11-07 11:57:53 -05:00
rigelrozanski
78c3430bb3 moving stuff around a bit, trying to get rid of types 2018-11-07 11:00:24 -05:00
rigelrozanski
6a7c4d1c86 rand utile
...
2018-11-07 10:37:45 -05:00
rigelrozanski
74b2a90087 whitespacing 2018-11-07 10:28:18 -05:00
Aleksandr Bezobchuk
812784c940 Cleanup bank keeper 2018-11-07 09:27:20 -05:00
Alexander Bezobchuk
8f690b5b6c Merge PR #2714: Add commission data to MsgCreateValidator signature bytes 2018-11-07 13:55:59 +01:00