Commit Graph

4473 Commits

Author SHA1 Message Date
Christopher Goes
8a58fdf634
Merge branch 'develop' into rigel/sim-cleanup 2018-11-09 16:16:01 +01:00
Jae Kwon
a4af659b33
Merge pull request #2740 from cosmos/master
Merge pull request #2739 from cosmos/develop
2018-11-08 16:48:34 -08:00
Jae Kwon
8550968c61
Merge pull request #2739 from cosmos/develop
Release 0.26.0
2018-11-08 16:47:38 -08:00
Jae Kwon
d8b6d1d106 Update CHANGELOG/PENDING for straggling PR #2690 2018-11-08 16:45:44 -08:00
Christopher Goes
02da397899 Merge 0.26.0 back to develop (#2718)
* PENDING => CHANGELOG
* Linkify changelog
* Merge PR #2716: Temporarily disable gaia lite insecure mode
* TODO: need to update CHANGELOG w/ import-export PR #2690
2018-11-08 16:41:57 -08: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
rigelrozanski
bfc7944b55 val comments 2018-11-08 10:32:53 -05:00
rigelrozanski
bbf574cedb pending 2018-11-08 02:19:08 -05:00
rigelrozanski
a9ef83bc4a compiling 2018-11-08 01:57:37 -05:00
rigelrozanski
5f289e5fdd event stats object, more general cleanup 2018-11-08 00:54:12 -05:00
rigelrozanski
eb16a01666 util cleanup 2018-11-08 00:22:16 -05:00
rigelrozanski
fee0763b5e mock tendermint 2018-11-08 00:12:51 -05:00
rigelrozanski
ff327049ee assertAllInvarients changes, Operation reorg 2018-11-07 23:55:48 -05:00
rigelrozanski
1ee6c3295d operations functions 2018-11-07 23:26:02 -05:00
rigelrozanski
4970754338 fix some duplicate to get passing 2018-11-07 14:42:00 -05:00
rigelrozanski
b8c6075c36 Merge remote-tracking branch 'origin/release/v0.26.0' into rigel/sim-cleanup 2018-11-07 14:29:48 -05:00
rigelrozanski
b5a205eb15 minimizing indentation 2018-11-07 12:19:58 -05:00
rigelrozanski
980dd78c62 rename ambig naming of queueOperations 2018-11-07 12:00:13 -05:00
rigelrozanski
ea7a5ea1a8 reorganize more 2018-11-07 11:57:53 -05:00
rigelrozanski
78c3430bb3 moving stuff around a bit, trying to get rid of types 2018-11-07 11:00:24 -05:00
rigelrozanski
6a7c4d1c86 rand utile
...
2018-11-07 10:37:45 -05:00
rigelrozanski
74b2a90087 whitespacing 2018-11-07 10:28:18 -05:00
Christopher Goes
ccb329b353 Linkify changelog 2018-11-07 14:13:48 +01:00
Christopher Goes
ee8bcbdaa5 PENDING => CHANGELOG 2018-11-07 14:10:20 +01:00
Alexander Bezobchuk
8f690b5b6c Merge PR #2714: Add commission data to MsgCreateValidator signature bytes 2018-11-07 13:55:59 +01:00
Jae Kwon
c7b3efdd02
Do not allow nil values to be set in CacheKVStore (#2708)
* Do not allow nil values to be set in CacheKVStore
2018-11-07 00:29:27 -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
Jae Kwon
2a3d1f1e87
Fix coins.IsLT() impl (#2686)
* Fix coins.IsLT() impl
* Fix coin.IsLT() impl
* Coins.IsLT -> Coins.IsAllLT etc
2018-11-07 00:14:48 -08:00
Jae Kwon
2779f4dba3
Add general merkle absence proof (also for empty substores) (#2685) 2018-11-07 00:03:02 -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
Jae Kwon
10e8e0312e Revert "enforcing @jaekwon mergemaster"
This reverts commit 15c209324f.
2018-11-05 03:14:00 -08: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
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