Commit Graph

79 Commits

Author SHA1 Message Date
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
Closes: #2540
2018-10-20 23:22:48 -07: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
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
rigelrozanski
32e0f14de2 rework to correctly use previous vote info 2018-10-15 22:09:13 -04:00
rigelrozanski
03b92603ed oh 2018-10-15 17:03:06 -04:00
rigelrozanski
076053d5b9 proposer reward params to global param 2018-10-15 16:12:42 -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
rigelrozanski
2ece2ff37c address @cwgoes comments 2018-10-15 02:34:01 -04:00
rigelrozanski
06fa518e30 address @cwgoes comments, add in precommit calculation 2018-10-12 07:15:13 -04:00
rigelrozanski
7b1f4a87ea finished off validator tests 2018-10-12 06:06:01 -04:00
rigelrozanski
94731a502a some validator dist tests 2018-10-12 05:51:00 -04:00
rigelrozanski
a60b91b7b2 bugfix form TestWithdrawDelegationRewardTwoDelegatorsUneven 2018-10-12 05:37:30 -04:00
rigelrozanski
f3c0496c99 TestWithdrawDelegationRewardsAll 2018-10-12 04:11:09 -04:00
rigelrozanski
8cb6d106d1 TestWithdrawDelegationRewardWithCommission 2018-10-11 02:26:54 -04:00
rigelrozanski
8e378e2b2d got basic delegation tests working 2018-10-11 02:14:06 -04:00
rigelrozanski
f4f39ae03f allocation tests 2018-10-10 23:16:49 -04:00
rigelrozanski
900a5f47f6 keeper_test 2018-10-10 22:53:25 -04:00
rigelrozanski
3b5e57be08 ctx with proposer, working through allocation test 2018-10-10 17:43:47 -04:00
ValarDragon
9e334afad0 Lock binary dependencies to a specific commits / versions
This is basically copying over @anton's great script!

Also had to run `make format` to make this pass `test_lint`.
This PR also makes the make commands for tools further align
with the tendermint implementation.
2018-10-09 23:52:36 -07:00
rigelrozanski
22de85651f fix distr initialization 2018-10-09 21:59:07 -04:00
rigelrozanski
52316d9ef6 fix initialization of the test 2018-10-09 21:43:23 -04: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
46fe52bbac create test initialization for distr 2018-10-09 11:27:26 -04:00
rigelrozanski
142f42ecc7 ... 2018-10-08 20:14:03 -04:00
rigelrozanski
e304b9c600 debugging simulation 2018-10-05 20:32:06 -04:00
Christopher Goes
1f12f204ce Testcase fixes, 'make format', negative pre-genesis block 2018-10-05 14:11:36 +02:00
Rigel
9c9113fa3b Merge PR #2437: Distr-PR-4 Distribution Types 2018-10-05 12:41:38 +02:00
rigelrozanski
81d0f5f4a7 add wanted final test case functions 2018-10-04 21:37:40 -04:00
rigelrozanski
17dc812749 fix distribution endblocker issues 2018-10-04 20:20:43 -04:00
rigelrozanski
20a51e587c fix compile errors 2018-10-04 18:37:46 -04:00
rigelrozanski
eb01cb4a35 checkout distr types PR updates 2018-10-04 18:29:03 -04:00
rigelrozanski
3a9102e2af fix 2018-10-04 03:34:10 -04:00
rigelrozanski
4d4de3aa09 delegator_dist_info tests 2018-10-04 03:26:02 -04:00
rigelrozanski
1e74da1abe validator_info tests 2018-10-04 03:00:24 -04:00
rigelrozanski
dcf0ddaa03 ... 2018-09-28 20:55:22 -04:00
rigelrozanski
16f5d69329 types fee pool test 2018-09-28 19:32:42 -04:00
rigelrozanski
064f8b0b58 dec coin tests 2018-09-28 19:23:01 -04:00
rigelrozanski
e223eadb36 types msg tests 2018-09-28 19:04:04 -04:00
rigelrozanski
7ab02aed76 lcd tests to include proposer 2018-09-28 04:02:07 -04:00
rigelrozanski
60a3541380 major debugs 2018-09-28 03:29:52 -04:00
rigelrozanski
956566d5d1 proser 2018-09-27 23:04:37 -04:00
Rigel
6b595842ed Distr-PR-1 Staking ConsPubKey -> ConsAddr index (#2369)
* pulling in stuff from fee-distr PR
* revert some gov changes
* fix using cons address, also remove old commented distr code
* doc update
* val comments
* remove GetValidatorByConsPubKey
2018-09-24 21:09:31 -07:00
rigelrozanski
0d9105cf7c ... 2018-09-20 20:10:26 -04:00
rigelrozanski
251a81f589 yay it compiles 2018-09-20 00:53:48 -04:00
rigelrozanski
5790f33159 ... 2018-09-19 23:01:55 -04:00
rigelrozanski
5dabd1bf6d the errors never want to seem to end... 2018-09-19 22:54:46 -04:00