Commit Graph

4704 Commits

Author SHA1 Message Date
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
Christopher Goes cb3cb27b81 Merge branch 'develop' into dev/sim_msg_edit_val 2018-11-05 11:45:53 +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
Jae Kwon f4338d6f75 Fix merge conflict bug; Update PENDING 2018-11-04 19:42:11 -08:00
Jae Kwon 5b74e1d0b6
Bez/tm0.26 update pt 2 redux (#2684)
* Update to TM v0.26.0
* Update TODOs
* Proof and verification updates
* Fix linting
* Fix key path creation
* Temporarily fix tendermint revision to make tests pass
2018-11-04 19:36:35 -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
ValarDragon f0024e1a73 Make the simulator create the new comission rate sensibly 2018-11-04 15:55:07 -08:00
Sunny Aggarwal 4c3ac3f512 addressed comments 2018-11-03 22:56:33 -07:00
Sunny Aggarwal 0fc536a4af rebased 2018-11-03 22:56:33 -07:00
Sunny Aggarwal 327f7e1673 address other comments 2018-11-03 22:56:33 -07:00
Sunny Aggarwal eeff820427 removed redelegation stuff 2018-11-03 22:56:33 -07: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
Sunny Aggarwal 9c6ef3e23c added validatorDelegations querier endpoint 2018-11-03 22:53:45 -07:00
Sunny Aggarwal d378db3128 added querier redelegation 2018-11-03 22:53:45 -07:00
Jae Kwon 15c209324f enforcing @jaekwon mergemaster 2018-11-03 00:10:40 -07:00
Jae Kwon de099b4ca1
Merge pull request #2668 from cosmos/master
Merge master back to develop
2018-11-02 16:59:03 -07:00
Rigel 0d5ebd2495
Merge PR #2667: Gaialite signal handling fix
Gaialite signal handling is broken, repair it
2018-11-02 12:43:07 -04:00
Rigel 22ef9443d6
Merge pull request #2666 from cosmos/alessio/2664-fix-dns-alt-name
[R4R] Include DNS alt name in certificate
2018-11-02 12:40:22 -04:00
Alessio Treglia e598af9eb6
Fix lint 2018-11-02 13:47:14 +00:00
Alessio Treglia 36bb4409b6
Refactor TrapSignal 2018-11-02 13:44:40 +00:00
Alessio Treglia a0a6bad4c0
Fix test 2018-11-02 13:37:23 +00:00
yutianwu b6443e9496 Merge PR #2653: Add benchmark for get and set account 2018-11-02 13:36:52 +01:00
Dev Ojha 8e328c8706 Merge PR #2665: simulation: Remove header from Invariant
This got introduced recently, but wasn't actually needed, hence the reversion
2018-11-02 13:35:21 +01:00
Alessio Treglia 48192ea3d4
Gaialite signal handling is broken, repair it 2018-11-02 08:42:29 +00:00
Alessio Treglia 91dcd0f82a
Include DNS alt name in certificate
Closes: #2664
2018-11-02 08:17:57 +00:00
Christopher Goes f4d3e65ef0
Merge PR #2660: simulation: Make validator choice use validator set
* simulation: Make validator choice use validator set

This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.

This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-02 00:32:55 +01:00
Alessio Treglia 3657ff4ada Merge PR #2656: Revert read-only leveldb database
* Revert read-only leveldb database

Waiting on a fix for syndtr/goleveldb#240.

* Update client/keys/utils.go
2018-11-02 00:29:21 +01:00
Alexander Bezobchuk c5238b0d1e Merge PR #2589: Update Vesting Spec 2018-11-01 23:13:40 +01:00
Zach ddba4fc810 Merge PR #2657: Fix config.js 2018-11-01 23:12:22 +01:00
ValarDragon 52083e105b Update changelog 2018-11-01 12:52:03 -07:00
ValarDragon 3cffe29da7 simulation: Make validator choice use validator set
This also had to change the default seed, since with the previous one it
actually got into a state where there were no validators left bonded, lol.

This also changes Unbond msgs from failing with almost 100% probability to now
only failing with 33% probability.
Thus more of the state machine is getting tested!
2018-11-01 12:45:22 -07:00
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
Christopher Goes 8ae4761df6
Merge PR #2558: Various sign command improvements
* Exit with error if the user is attempting to sign with a key
  whose address is not among those who are expected to sign
  the transaction.
* Add --print-signature-only to output only the generated
  signature.
* Check sanity of signatures and report errors when run with --print-sigs
* Document what --validate-signatures does
2018-10-31 19:56:29 +01:00
ValarDragon 835315dcaa move typedef 2018-10-31 10:11:41 -07:00
Aleksandr Bezobchuk 5e2efd999a perform minor doc and function cleanup 2018-10-31 17:37:50 +01:00
Alessio Treglia dbbf0647f0
Document what --validate-signatures does 2018-10-31 13:50:01 +00:00
Alessio Treglia 06989bee61
Fix rebase 2018-10-31 13:48:10 +00:00
Alessio Treglia 6c8791f505
Nest switches 2018-10-31 13:43:20 +00:00
Alessio Treglia 84aef0d106
Apply suggestions from bez 2018-10-31 13:43:20 +00:00
Alessio Treglia 44d2347109
Set success = false when it fails 2018-10-31 13:43:20 +00:00
Alessio Treglia 9e397907be
Rename append, it's go builtin 2018-10-31 13:43:20 +00:00
Alessio Treglia 17f799abb0
Update PENDING.md 2018-10-31 13:43:17 +00:00
Alessio Treglia bb734c43c6
Docs updated 2018-10-31 13:42:42 +00:00
Alessio Treglia f752525d54
s/--sig-only/--signature-only/ 2018-10-31 13:42:42 +00:00