Commit Graph

13 Commits

Author SHA1 Message Date
Christopher Goes b2b026b5e0
Merge PR #2930: Simulation spring cleaning
* Update PENDING.md
* Add simple period for expensive invariants
* Remove individual module simulations
* Simulate a few more blocks
* Add README explaining reason for shell scripts
* Deduplicate scripts, log exact replication command on failure
* Refactor invariants to take sdk.Context instead of baseapp.BaseApp
* Reference all issues in PENDING.md entry
* Remove no longer used simulation.RandSetup
* Bug fixes
* Address @rigelrozanski comments
* Fix typo
2018-11-29 16:17:10 +01:00
Jae Kwon d1e76221d8
Jae/simulator improvements (#2900)
* Make simulator operations predetermined
* Use new dbm.ReverseIterator API
* Simulation speed improvements
* Pin exact revisions, not branches
* Rename 'MountStoresIAVL' to 'MountStores'
* Zero Power Block fees to community pool
2018-11-27 00:14:22 -08:00
Christopher Goes ad121f1498 Add a flag to export for zero-height start (#2827)
Closes #2812

This PR adds the flag --for-zero-height to gaiad export, which runs several alterations to the application state to prepare for restarting a new chain in a consistent fashion.

It also:

* Moves Gaia's export code to cmd/gaia/app/export.go for cleaner separation.
* Fixes an inconsistency where we treated the initChainer as happening at height -1 - it should now happen at height 0, since the first header sent by Tendermint has height 1.
* Runs the runtime invariant checks on start (in initChainer)
* Adds a few auxiliary functions to clear slashing periods
* Removes the Height field from Delegation objects in x/stake, which was not used anywhere
2018-11-26 04:21:23 -08: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 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 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