Aleksandr Bezobchuk
08a1667246
Require moniker instead of generating a random one
2018-11-12 08:27:26 -05:00
Aleksandr Bezobchuk
29bec833f3
Update moniker prefix
2018-11-12 08:16:47 -05:00
Aleksandr Bezobchuk
156370ea9c
Generate random moniker when missing
2018-11-12 08:15:08 -05:00
Jack Zampolin
056e75c30b
Merge pull request #2704 from cosmos/alessio/utility-to-add-accts-to-genesis
...
R4R: Add small utility to add account to genesis.json after gaiad init
2018-11-09 09:40:46 -08:00
Alessio Treglia
201abfec8c
Add --chain-id to testnet command
2018-11-09 15:25:14 +00:00
Christopher Goes
4d1246dae9
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-09 15:28:03 +01:00
Alessio Treglia
8a7c4900f4
s/WriteGenesisFile/ExportGenesisFile/
2018-11-09 10:59:11 +00:00
Alessio Treglia
4f6f8e09ae
Add small utility to add account to genesis.json after gaiad init
2018-11-09 10:52:28 +00: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
Federico Kunze
0ff12bb57a
Update cmd/gaia/cmd/gaiacli/main.go
...
Co-Authored-By: jackzampolin <jack.zampolin@gmail.com>
2018-11-08 08:25:18 -08:00
Jack Zampolin
8f4c7df033
Address PR comments
2018-11-08 08:24:34 -08:00
Jack Zampolin
1aae086f49
Fix typo
2018-11-07 16:48:55 -08:00
Jack Zampolin
0ab5d7639b
Fix gobash CLI testing
2018-11-07 16:42:34 -08:00
Jack Zampolin
cade5f552c
Address linting issues
2018-11-07 15:38:30 -08:00
Jack Zampolin
c20e383d7f
Fix missing flags issue
2018-11-07 15:35:12 -08:00
Jack Zampolin
d4fb6d4ebe
Reorganize CLI command structure. Fixes #2575
2018-11-07 15:03:00 -08:00
Dev Ojha
817f515956
Merge branch 'develop' into dev/sim_msg_edit_val
2018-11-07 13:26:00 -08:00
Alexander Bezobchuk
4f46a4c4d5
Update testnet to use canonical genesis time ( #2692 )
...
* Update testnet to use canonical genesis time
* Fix linting in genesis test
2018-11-07 00:19:06 -08:00
Sunny Aggarwal
1d3a04a61c
Switch gov proposal-queues to use iterators ( #2638 )
...
* switched gov proposals queue to use iterators
* update gov spec
* update proposal.Equal
* Amino api change
* switched proposalID to uint64
* renamed Gov Procedures to Params
* s/ActiveProposalQueueProposalKey/KeyActiveProposalQueueProposal/g
* numLatestProposals -> Limit
* fixed staking invariant breakage because of gov deposits
* Send deposits to DepositedCoinsAccAddr or BurnedDepositCoinsAccAddr
2018-11-06 23:33:18 -08:00
Christopher Goes
dfddac394d
Merge branch 'develop' into sunny/get_all_delegations_validator_querier
2018-11-05 11:56:32 +01:00
Christopher Goes
37abad4cc3
'make format'
2018-11-05 11:47:19 +01:00
Jae Kwon
336415baea
Fix simulation bugs; Incorprates #2676 from Sunny ( #2677 )
...
* Fix simulation bugs; Incorprates #2676 from Sunny
* Address review feedback; Update PENDING
2018-11-04 22:11:03 -08:00
Christopher Goes
256ec0f07b
Simulation improvements (logging fix, random genesis parameters) ( #2617 )
...
* Print out initial update on every block
* Randomize simulation parameters
* Randomize initial liveness weightings
* Randomize genesis parameters
* fixed power store invariant
* IterateValidatorsBonded -> IterateBondedValidatorsByPower
* WriteValidators uses IterateLastValidators rather than IterateBondedValidatorsByPower
* fixed democoin interface
Closes #2556
Closes #2396
Via #2671 :
closes #2669
closes #2670
closes #2620
Offshoot issues:
#2618
#2619
#2620
#2661
2018-11-04 20:44:43 -08:00
Alessio Treglia
c20fcbfd8f
New genesis workflow ( #2602 )
...
New genesis workflow:
* `gaiad init` is now used to generate an empty `genesis.json`.
* Genesis accounts need to be populated manually before running
`gaiad collect-gentxs`.
* This should support starfish too, see #2615 for more info.
* Closes : #2596 #2615
* Validate validator address and address against respective account ex ante
* Fix local testnet failures
* New genesis tests
* Run make format
* Add --pubkey flag
* gaiad collect-gentxs takes no args
2018-11-04 20:26:46 -08:00
Alexander Bezobchuk
50926fffff
Update to TM v0.26.0 - Part I ( #2679 )
...
* Update to TM v0.26.0
2018-11-04 18:28:38 -08:00
Sunny Aggarwal
f8b030aece
cli fixes
2018-11-03 22:56:33 -07:00
Sunny Aggarwal
2d429731b3
LCD and CLI
2018-11-03 22:55:38 -07:00
svaishnavy
9cf53f25f7
Merge PR #2614 : Configurable Bech32 prefix for SDK users
2018-10-31 20:13:13 +01:00
Alessio Treglia
53f1233f0a
s/--print-sigs/--validate-signatures/
2018-10-31 13:42:42 +00:00
Alessio Treglia
a514295128
Fix integration tests
2018-10-31 13:42:42 +00:00
Alessio Treglia
e65c02dd42
Fix integration tests
2018-10-31 13:42:42 +00:00
Dev Ojha
0d8325b859
Merge PR #2623 : Speedup simulator by switching to goleveldb
...
Due to requiring app.Commit() at the moment, golevel db is significantly faster than a memdb
2018-10-30 00:10:39 +01:00
Federico Kunze
855e0ac70a
Merge PR #2596 : Cmds for validator unbondings and redelegations
2018-10-28 22:28:12 +01:00
Rigel
d71f38bdac
Merge PR #2597 : Add distribution accum invariants
2018-10-26 13:42:53 +02:00
Jae Kwon
0f1fb179c4
Merge PR #2599 from cosmos/jae/dist_refactor
...
* Rename Pool -> DelRewards; PoolCommission -> ValCommision
* FeePool.Pool -> FeePool.ValPool
* WithdrawalHeight->DelPoolWithdrawalHeight
* OnValidatorBeginUnbonding
* Caught the bug's tail
* Update vi.FeePoolWithdrawalHeight upon bonding
* Fix staking slashUnbondingDelegation bug; fixes simulator failure #9
2018-10-26 13:27: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
cd9373d6f3
Make linter happy
2018-10-23 20:34:09 +02:00
Christopher Goes
306fb8fb6d
Address @rigelrozanski comments
2018-10-23 20:33:39 +02:00
Federico Kunze
8040a56116
update depositer addr
2018-10-23 19:49:34 +02:00
Christopher Goes
edd56be952
Cleanup, additional item in PENDING.md
2018-10-23 18:29:39 +02:00
Christopher Goes
604de8599a
Remove unnecessary change, clarify amt in sim_test.go
2018-10-23 18:24:06 +02:00
Christopher Goes
33c8238392
Merge branch 'develop' into cwgoes/check-supply-in-simulation
2018-10-23 17:54:58 +02:00
Federico Kunze
b27e743a73
Update test
2018-10-23 16:28:10 +02:00
Federico Kunze
5ba376820c
Add query deposits cmds
2018-10-23 16:07:28 +02:00
Christopher Goes
c14fa12b0c
Back to 50 initially bonded
2018-10-23 15:55:06 +02:00
rigelrozanski
8999ee8797
re-enable simulation parameters
2018-10-23 00:53:06 -04:00
Jae Kwon
fa3730a5d2
WIP looking for bug...
2018-10-22 19:48:28 -07:00
Jae Kwon
1630c0f0f3
WIP intermediate...
2018-10-22 19:02:52 -07:00
Jae Kwon
c3008d585b
Add more useful logging
2018-10-22 16:24:19 -07:00
rigelrozanski
c4d7747a56
Merge remote-tracking branch 'origin/cwgoes/check-supply-in-simulation' into jae/check-supply-in-simulation
2018-10-22 15:51:52 -04:00
rigelrozanski
278d23776b
call hook on slashing
2018-10-22 14:59:00 -04:00
Jae Kwon
1cc74320df
Replicate Rigel's changes but w/ modifications as discussed + some name changes
2018-10-22 01:46:47 -07:00
Alessio Treglia
6014089fa1
Rename AccountMapper to AccountKeeper
...
Closes : #2540
2018-10-20 23:22:48 -07:00
Christopher Goes
7770aec306
Withdraw rewards on bonded to unbonding
2018-10-20 00:13:44 +02:00
Christopher Goes
1afb5bf9d2
Simulate minting, fix bug where pool was not updated
2018-10-19 23:01:23 +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
4779359e29
Linter, enable simulated distribution msgs again
2018-10-19 03:21:11 +02:00
Christopher Goes
42ae2671c2
Simulation fixes work-in-progress
2018-10-19 03:08:25 +02:00
Christopher Goes
e099491daa
Merge PR #2526 : Distribution fixes from simulation
2018-10-18 21:58:57 +02:00
Christopher Goes
b700107bec
Add simulated distribution msgs
2018-10-17 00:25:31 +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