Commit Graph

341 Commits

Author SHA1 Message Date
Elvin 1686ba072b Merge PR #2643: AppendTag function usage error. append elements do not work 2018-11-01 10:26:44 +01:00
svaishnavy 9cf53f25f7 Merge PR #2614: Configurable Bech32 prefix for SDK users 2018-10-31 20:13:13 +01:00
Christopher Goes fcf5b7764b
Merge PR #2622: Make simulation use a transition matrix for block size
Make simulation use a transition matrix for block size
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-31 20:10:35 +01:00
Alessio Treglia 06989bee61
Fix rebase 2018-10-31 13:48:10 +00:00
Alessio Treglia 17f799abb0
Update PENDING.md 2018-10-31 13:43:17 +00:00
Alessio Treglia a4c4e280f8
Refresh PENDING.md 2018-10-31 13:42:38 +00:00
Jae Kwon 1538ab8de9
Merge branch 'develop' into release/v0.25.0 2018-10-30 17:54:54 -07:00
Dev Ojha 4cde8043c5
Merge branch 'develop' into dev/sim_blocksize 2018-10-29 17:41:32 -07:00
Christopher Goes c93b116d23
Merge PR #2616: Block redelegations to the same validator 2018-10-30 00:05:55 +01:00
ValarDragon e4b5e2c9f3 Make simulation use a transition matrix for block size
This enables simulating periods of high load, and periods of low to no load.
(low load because future ops will still terminate in that time frame)
2018-10-28 21:37:19 -07:00
Federico Kunze 855e0ac70a Merge PR #2596: Cmds for validator unbondings and redelegations 2018-10-28 22:28:12 +01:00
Christopher Goes 0b5106090c PENDING.md => CHANGELOG.md 2018-10-26 13:44:49 +02:00
Rigel d71f38bdac Merge PR #2597: Add distribution accum invariants 2018-10-26 13:42:53 +02:00
Christopher Goes d33cc7cdfe Move PENDING to CHANGELOG 2018-10-24 15:38:34 +02:00
Christopher Goes c577831261
Merge PR #2554: Make `gaiacli keys show` multisig-ready 2018-10-24 15:24:12 +02:00
HaoyangLiu 9ee9e28439 Merge PR #2462: Add swagger-ui for gov, stake and slashing 2018-10-24 15:19:48 +02:00
Sunny Aggarwal d666658ca9 Merge PR #2553: Renamed msg.Name() and msg.Type() to msg.Type() and msg.Route() 2018-10-23 21:23:55 +02:00
Christopher Goes 60d188ded0
Merge PR #2501: Simulate transactions for fee distribution, simulate inflation, and fix a multitude of bugs discovered in the process of doing so 2018-10-23 21:21:37 +02:00
Christopher Goes a231bd8ccc
Merge PR #2555: Don't acquire lock on read-only keybase 2018-10-23 21:03:08 +02:00
Christopher Goes 701a00c67a
Merge PR #2570: Cmds for query deposits 2018-10-23 20:52:56 +02:00
Christopher Goes ef8aab84e1 Update PENDING.md 2018-10-23 20:37:36 +02:00
Alexander Bezobchuk 990852a5b2
Update PENDING.md
Co-Authored-By: alessio <quadrispro@ubuntu.com>
2018-10-23 10:43:45 -07:00
Christopher Goes edd56be952 Cleanup, additional item in PENDING.md 2018-10-23 18:29:39 +02:00
Christopher Goes 6bf7e02a27 Back to on-operation=false, update PENDING.md 2018-10-23 18:10:06 +02:00
Christopher Goes f587b46570 Update PENDING.md 2018-10-23 18:01:09 +02:00
Christopher Goes 33c8238392 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-23 17:54:58 +02:00
Alessio Treglia 6ae767d89c
Update PENDING.md 2018-10-22 13:34:41 -07:00
Federico Kunze 77177b2861 Merge develop and conflicts 2018-10-22 11:18:51 +02:00
Christopher Goes 5aae4740db
Merge PR #2542: validator outgoing redelegations and unbonding delegations 2018-10-21 23:50:04 +02:00
Christopher Goes 3e22a36c5e
Merge PR #2545: Rename AccountMapper to AccountKeeper 2018-10-21 23:48:24 +02:00
Alessio Treglia a4c7faaa40
Mark --to and --amount flags required for gaiacli tx send
Closes: #2547
2018-10-20 23:55:29 -07:00
Alessio Treglia 17cf2ac62d
Refresh PENDING.md 2018-10-20 23:25:29 -07:00
Federico Kunze fea21ac446 PENDING 2018-10-20 22:28:23 +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 9cdd2d07ef PENDING and minor querier test 2018-10-20 20:38:07 +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
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 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 06c7e27115 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-18 21:59:38 +02:00
Sunny Aggarwal 505c356f20 Merge PR #2514: Refactor validator deletion 2018-10-18 21:58:18 +02:00
Christopher Goes 74780c6608 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-18 02:51:54 +02:00
David Braun e845569d16 Merge PR #2496: Add example to Swagger specification for /keys/seed 2018-10-17 20:25:02 +02:00
Christopher Goes 67258c4c29 Merge branch 'develop' into cwgoes/check-supply-in-simulation 2018-10-16 23:32:49 +02:00
Christopher Goes d8038fcddc Update testcases & pending 2018-10-16 21:44:23 +02:00
Christopher Goes 3f59cf1517
Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-16 19:23:57 +02:00
ValarDragon 20cc13e5bf types: Dec.MarshalJSON now marshals as a normal decimal string
Closes #2475
2018-10-16 09:29:32 -07: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 2fff810695 This PR now will do something else 2018-10-16 02:23:56 +02:00
Christopher Goes 16746254f5 Update PENDING.md 2018-10-16 02:18:09 +02:00
Joon 047c3d1456
Merge branch 'develop' into joon/2490-copy-godocs 2018-10-16 04:14:40 +09:00
mossid c903f39d1f update PENDING 2018-10-16 04:11:31 +09:00
Christopher Goes 2c4d9a0be4 Merge branch 'develop' into cwgoes/fix-signing-info-bugs 2018-10-15 21:04:49 +02:00
Federico Kunze 63f8669c4a Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into fedekunze/2478-gov-deposits-rest
Pull
2018-10-15 10:31:30 +02:00
Sunny Aggarwal 6c9e71b654 Merge PR #2451: implement validator queue
* unbonding redelegation queue

* address some of bez and chris review

* delete old timeslices from queue

* added Rigel's test case

* added end-time to tags

* fixed bug in staking

* removed prints

* Get -> Queue

* called Endblocker in test

* implement validator queue

* Docs and PENDING

* address federicos comments

* unexposed UnbondingToUnbonded

* no copying unbonded val array to memory
2018-10-14 20:37:06 -04:00
Federico Kunze b6a9457bf4 PENDING 2018-10-12 19:08:56 -07:00
Christopher Goes b55f29f72d Update PENDING.md 2018-10-11 22:58:20 +02:00
ValarDragon 58bedad64d Update changelog 2018-10-10 00:09:23 -07:00
Christopher Goes 9c53f5aadf Merge branch 'develop' into cwgoes/nextvalset 2018-10-09 06:33:19 +02:00
HaoyangLiu 1aebe103ba Merge branch 'develop' of https://github.com/cosmos/cosmos-sdk into bianjie/lcd-lite-swagger-ui 2018-10-09 09:21:45 +08:00
Christopher Goes 4814ae4df5
Merge branch 'develop' into cwgoes/nextvalset 2018-10-08 06:44:29 +02:00
Sunny Aggarwal cd21427a7b Merge PR #2405: Unbonding and Redelegations Queue 2018-10-08 06:43:47 +02:00
Dev Ojha d661ccb30e Merge PR #2450: Add ValidateGenesis to staking, add more tests 2018-10-08 06:12:37 +02:00
Dev Ojha 869d85fba5 Merge PR #2453: Update to tm version v0.25.0 2018-10-08 06:08:20 +02:00
Christopher Goes 482537e6c1
Merge PR #2430: Aggressive slashing simulation & fixes 2018-10-05 19:42:52 +02:00
Christopher Goes 8befc3c41f Merge branch 'develop' into cwgoes/nextvalset 2018-10-05 13:07:45 +02:00
Rigel 9c9113fa3b Merge PR #2437: Distr-PR-4 Distribution Types 2018-10-05 12:41:38 +02:00
Christopher Goes 48672c4c0b More comments, update sim for NextValSet 2018-10-04 18:22:51 +02:00
Christopher Goes 8f4d3a6cd7 Merge branch 'develop' into cwgoes/nextvalset 2018-10-04 18:11:14 +02:00
Alexander Bezobchuk 2e040dd971 Merge PR #2442: Support removal of accounts in account mapper 2018-10-04 16:20:31 +02:00
HaoyangLiu 8e1bfee6ca Add swagger-ui for key management 2018-10-04 20:36:24 +08:00
HaoyangLiu 9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Dev Ojha b4e8fe5e94 Merge PR #2435: Staking store keys bug fix + memory improvement
Improve memory efficiency of getting store keys

This is done by removing repeated appends, which will create a new
slice if theres insufficient capacity, and instead creating a key
of the correct size, and then copying the data into it.
2018-10-04 08:42:03 +02:00
Alexander Bezobchuk 89d13d1f4c Merge PR #2429: LCD Properly Init Proposing Validator in Tests
* Refactor InitializeTestLCD to initialize correctly

* Update InitializeTestLCD API usage in LCD unit tests

* Update pending log

* Update named return variables

* Increase power of validator proposer in LCD tests
2018-10-03 12:42:44 -04:00
Rigel 324bdaf55d Merge PR #2394: Split up UpdateValidator into distinct state transitions applied only in EndBlock 2018-10-03 18:37:06 +02:00
Christopher Goes 26d43ff94a Merge branch 'develop' into cwgoes/nextvalset 2018-10-03 17:58:14 +02:00
Christopher Goes 17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Christopher Goes 08fcd9967d Merge branch 'cwgoes/update-tendermint-upstream' into cwgoes/nextvalset 2018-10-02 14:05:35 +02:00
Dev Ojha 9410b6287c Merge PR #2425: simulation: Make bank testing auth configurable 2018-10-02 14:01:18 +02:00
Christopher Goes 3ed2c22a38 Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-10-01 18:53:42 +02:00
Christopher Goes f7cb351dd1
Merge PR #2162: Add loose/bonded token supply invariants back to simulation 2018-09-27 15:52:30 +02:00
Christopher Goes ecc06f4aff Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-27 00:26:36 +02:00
Dev Ojha cb86efa054 Merge PR #2376: auth: Don't recalculate mempool fees for every msg signer, misc. cleanup
This PR begins improving the godocs for the auth module, and begins cleaning
up the Ante handler.

Additionally we previously calculated if the fee was sufficient for the tx
on every single signer. This is now refactored to be more efficient, and have
a better logical flow. No changelog entry as this is new to this release.
2018-09-27 02:34:01 +08:00
Christopher Goes e7c2a9614f Merge branch 'develop' into cwgoes/update-tendermint-upstream 2018-09-26 17:42:22 +02:00
Christopher Goes 91ee6b0d99
Merge PR #2313: Multi-seed parallel simulation 2018-09-26 23:04:42 +08:00
Alexander Bezobchuk 8ca8acf638 Merge PR #2357: Refactor Iterator Gas Consumption 2018-09-26 22:02:56 +08:00
Alessio Treglia a2caefc8ae Merge PR #2390: CLI subcommands reorganization 2018-09-26 22:00:49 +08:00
Dev Ojha e6a8b2278e Merge PR #2377: auth: Move stdsignmsg to txbuilder, add tests 2018-09-26 21:39:05 +08:00
Dev Ojha e11c52e873 Merge PR #2408: decimal: Add a method to multiply a decimal by an Int
This is for usage within the slash function, to minimize operations
required to slash each unbonded and redelegating account.
2018-09-26 18:13:40 +08:00
Rigel b54801b4b3 [RETRY] Distr-PR-3 More staking hooks (#2404)
* update commission hook for new commission work
* comment update
2018-09-25 23:11:57 -07:00
Matthew Slipper 2fb3493ff5 Merge PR #2223: Gaia CLI Config Command
* Allow a gaia-cli config file to be created

Closes #1613.
Closes #1275.
Closes #1956.

* Add homedir to Gopkg.toml

* Updates from code review

* Post-rebase fixes

* Update test

* Code review refactor

* Fixes from code review

* Fix import

* Fix broken test

* Fixes from rebase

* Fix formatting
2018-09-25 17:36:42 -04:00
Matthew Slipper 24413a395d Merge PR #2073: Allow --from to be a name or an address
* Allow --from to be a name or an address

Closes #1735.

* Post-rebase fixes

* Updates from code review

* Updates from code review

* Updates from code review

* Fix merge artifacts

* Fix merge conflicts

* Fix integration tests

* Add back GetFromName() check broken during merge

* Code review updates

* Fix failing test

* Updates from code review
2018-09-25 16:48:38 -04:00
Sunny Aggarwal 15e848e43c Merge PR #2395: Remove governance slashing 2018-09-26 02:45:20 +08:00
Jae Kwon c31c0d2822 Merge remote-tracking branch 'origin/dev/simulation_remove_pubkey_ops' into develop 2018-09-24 21:29:41 -07:00