Commit Graph

23 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
rigelrozanski b1ba6a4455 add back in PeriodicInvariant 2018-11-09 10:31:56 -05:00
rigelrozanski bfc7944b55 val comments 2018-11-08 10:32:53 -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 ea7a5ea1a8 reorganize more 2018-11-07 11:57:53 -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
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
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
Dev Ojha 6316e1241e Merge PR #2644: Simulation: Print last block when there is an error
There was an off by one error in the log printing function previously
2018-10-31 12:04:46 +01:00
ValarDragon 206e51079c fix block offsets in printing simulation block number 2018-10-30 20:43:16 -07:00
Rigel d71f38bdac Merge PR #2597: Add distribution accum invariants 2018-10-26 13:42:53 +02:00
Christopher Goes d21f93afb0 Simulation debugging contd. 2018-10-19 03:55:14 +02:00
ValarDragon bb624b36aa simulation: Use a simulation.Account struct
This removes privkeys and addresses from function signatures.
This comes with a 11% performance improvement to the simulator,
as we no longer keep recomputing the pubkeys.
Once we move the transient store clearing to endblock, we can
further raise the size of make test_sim_gaia_fast

concretely, `make test_sim_gaia_fast` went from 16.8 seconds to 13.5 seconds on my system.
2018-09-22 20:33:32 -07:00
Dev Ojha 962b04d985 Merge PR #2285: simulation: Write logs on panic 2018-09-11 17:18:58 +08:00
Dev Ojha 173ed6a63d Merge PR #2282: simulation: Switch the log method from a single string to string builders 2018-09-09 23:34:09 +08:00
Christopher Goes 3d50567034
Merge PR #1783: Slashing, validator set, and governance simulation 2018-08-16 17:36:15 +02:00
Christopher Goes ee29e10068 RandomKey, RandomAmount 2018-07-19 08:48:43 +02:00
Christopher Goes ad410c1e2e Linter fixes 2018-07-18 07:50:04 +02:00
Christopher Goes 6c61577b0b Misc, environment variables 2018-07-18 07:37:38 +02:00
Christopher Goes c61b1aa591 Event stats 2018-07-18 01:27:51 +02:00
Christopher Goes cbcd0f0828 Restructure contd. 2018-07-17 03:25:15 +02:00