Commit Graph

678 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
rigelrozanski
32e0f14de2 rework to correctly use previous vote info 2018-10-15 22:09:13 -04:00
rigelrozanski
eaecde2790 test_utils >:( 2018-10-15 16:52:39 -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
dba20d1725 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-12 06:06:24 -04:00
mossid
674d3d6dbc fix gaiadebug 2018-10-12 00:19:13 +09:00
mossid
42c7a09075 Merge branch 'develop' into joon/paramstore-refactor-base 2018-10-12 00:09:07 +09: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
Christopher Goes
e251088672
Merge PR #2452: Fix LCD Validator Initialization 2018-10-09 20:10:37 +02:00
Zaki Manian
d6be4fcf69 Merge PR #2455: Print out all 3 public key encoding with gaiadebug 2018-10-09 06:26:56 +02:00
rigelrozanski
600532575b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-08 20:15:17 -04: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
Aleksandr Bezobchuk
18dce870d9 Fix linting 2018-10-08 02:54:23 +08:00
Aleksandr Bezobchuk
975065724b Revert back to 100 power for proposing validator 2018-10-08 02:51:29 +08:00
Aleksandr Bezobchuk
2527e1fa3b Implement NewTestGaiaAppGenState and update LCD test bonding 2018-10-08 00:57:52 +08: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
991ac424d2 fix gaia 2018-10-07 01:12:00 +09:00
mossid
35a80e6563 fix gaiadebug 2018-10-07 01:12:00 +09:00
mossid
267990816f fix gaia 2018-10-07 01:12:00 +09:00
mossid
37ce8d51c6 apply requests 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
rigelrozanski
17dc812749 fix distribution endblocker issues 2018-10-04 20:20:43 -04:00
rigelrozanski
45f0dd0e3b Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-10-04 18:33:12 -04:00
HaoyangLiu
9f67e8af20 Merge PR #2215: Add swagger-ui for gaiacli lite-server 2018-10-04 13:00:24 +02:00
Christopher Goes
17983460b8
Merge PR #2219: Update to Tendermint 0.24 (except NextValSet offsets) 2018-10-03 17:48:23 +02:00
Dev Ojha
9410b6287c Merge PR #2425: simulation: Make bank testing auth configurable 2018-10-02 14:01:18 +02:00
rigelrozanski
733b616c8c disable endblock for lcd 2018-09-28 04:15:03 -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
436d2a0178 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-27 22:48:16 -04:00
rigelrozanski
0436f50c00 ... 2018-09-27 19:54:41 -04: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
Alessio Treglia
a2caefc8ae Merge PR #2390: CLI subcommands reorganization 2018-09-26 22:00:49 +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
rigelrozanski
3846894c3a Merge branch 'rigel/new-hooks' into rigel/fee-distribution 2018-09-25 20:09:33 -04:00
rigelrozanski
9e9756a6a9 Merge remote-tracking branch 'origin/develop' into rigel/new-hooks 2018-09-25 18:31:12 -04:00
rigelrozanski
47e899bb61 Merge remote-tracking branch 'origin/develop' into rigel/fee-distribution 2018-09-25 17:45:48 -04: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
Jae Kwon
c31c0d2822 Merge remote-tracking branch 'origin/dev/simulation_remove_pubkey_ops' into develop 2018-09-24 21:29:41 -07:00