From 663e954b806b5e8cc4206dd23d6770e7af4cfc2b Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Sat, 8 Dec 2018 07:44:18 -0800 Subject: [PATCH] Default SimulationPeriod is 1 --- cmd/gaia/app/sim_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gaia/app/sim_test.go b/cmd/gaia/app/sim_test.go index 52ac2ed1a8..bf03f9a102 100644 --- a/cmd/gaia/app/sim_test.go +++ b/cmd/gaia/app/sim_test.go @@ -50,7 +50,7 @@ func init() { flag.BoolVar(&enabled, "SimulationEnabled", false, "Enable the simulation") flag.BoolVar(&verbose, "SimulationVerbose", false, "Verbose log output") flag.BoolVar(&commit, "SimulationCommit", false, "Have the simulation commit") - flag.IntVar(&period, "SimulationPeriod", 100, "Run slow invariants only once every period assertions") + flag.IntVar(&period, "SimulationPeriod", 1, "Run slow invariants only once every period assertions") } func appStateFn(r *rand.Rand, accs []simulation.Account) json.RawMessage {