Commit Graph

647 Commits

Author SHA1 Message Date
Christopher Goes
5aae4740db
Merge PR #2542: validator outgoing redelegations and unbonding delegations 2018-10-21 23:50:04 +02:00
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
Closes: #2540
2018-10-20 23:22:48 -07:00
Federico Kunze
8999a4d719 Add validator unbonds 2018-10-20 21:30:07 +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
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
Rigel
b48d0d5623 Merge PR #2527: Minting 2018-10-19 20:36:00 +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
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
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
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
0d1104330f Fix merge rename 2018-10-16 19:42:51 +02:00
Christopher Goes
2803830c7e
Merge PR #2236: Distr-PR-5 Implement Distribution 2018-10-16 08:18:21 +02: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
rigelrozanski
2f4a01bcba address @ValarDragon comments, param store update 2018-10-15 15:51:51 -04:00
rigelrozanski
5de0c9a1f8 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-15 02:43:36 -04: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
rigelrozanski
dba20d1725 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-12 06:06:24 -04:00
mossid
42c7a09075 Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-12 00:09:07 +09:00
rigelrozanski
8cb6d106d1 TestWithdrawDelegationRewardWithCommission 2018-10-11 02:26:54 -04:00
Alessio Treglia
0f4a03b44e Alessio/server refactor (#2472)
* Add arg to PrintUnsignedStdTx() to actually operate in offline mode
* WIP simplifying server module
* Expose ExternalIP()
* Move {GenTx,Init}Cmd into gaia's new init package
2018-10-10 15:45:41 -07:00
mossid
5c92a546c6 rename store subspace, add WithTypeTable 2018-10-11 05:01:30 +09:00
mossid
03975407ba Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-10 21:20:59 +09:00
rigelrozanski
fc9bafb8d3 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-09 20:19:22 -04:00
rigelrozanski
c9730329bf ... 2018-10-09 13:58:59 -04:00
rigelrozanski
600532575b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-08 20:15:17 -04: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
Jae Kwon
a1bc7185a4
s/bonding/unbonding/ in a comment 2018-10-07 18:48:08 -07:00
mossid
9fc7e80d48 finalize rebase 2018-10-07 01:16:11 +09:00
mossid
4bf14c5650 apply request finalize, fix lint 2018-10-07 01:12:01 +09:00
mossid
7a68b376bd apply requests in progress 2018-10-07 01:12:01 +09:00
mossid
7d49675600 apply requests in progress 2018-10-07 01:12:01 +09:00
mossid
e7de48e375 address comments 2018-10-07 01:12:01 +09:00
mossid
cc75924182 last rereview 2018-10-07 01:12:00 +09:00
mossid
d6105c5855 SetFromParamStruct -> SetStruct 2018-10-07 01:12:00 +09:00
mossid
9a35b7e949 space -> store, add doc 2018-10-07 01:12:00 +09:00
mossid
fd8713ef9c rm key & doc.go in progress 2018-10-07 01:12:00 +09:00
mossid
6d80faface string -> []byte 2018-10-07 01:12:00 +09:00
mossid
bd6ee42c5a finalize rebase 2018-10-07 01:12:00 +09:00
mossid
cc0e2c9523 paramstore refactor base
rm debug code

fix lint

fix hack.go
2018-10-07 01:11:59 +09:00
rigelrozanski
e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
Christopher Goes
317be2bc16 Clarify ValidatorUpdateDelay 2018-10-05 19:56:17 +02:00
rigelrozanski
83c2781c1c Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-05 13:23:01 -04:00
Christopher Goes
1f12f204ce Testcase fixes, 'make format', negative pre-genesis block 2018-10-05 14:11:36 +02:00
Christopher Goes
018aaeb443 Add testcase for slash at negative height 2018-10-05 13:40:00 +02:00