simulation: Minor changes
Now that we properly initialize governance, a ton of governance slashing doesn't happen in the first few blocks. Because of this, we can run through blocks in the range (0,200) quite rapidly. This PR acknowledges that and increases many of the default block heights.
This commit is contained in:
@@ -189,7 +189,7 @@ func TestAppStateDeterminism(t *testing.T) {
|
||||
t.Skip("Skipping Gaia simulation")
|
||||
}
|
||||
|
||||
numSeeds := 5
|
||||
numSeeds := 3
|
||||
numTimesToRunPerSeed := 5
|
||||
appHashList := make([]json.RawMessage, numTimesToRunPerSeed)
|
||||
|
||||
@@ -206,10 +206,11 @@ func TestAppStateDeterminism(t *testing.T) {
|
||||
testAndRunTxs(app),
|
||||
[]simulation.RandSetup{},
|
||||
[]simulation.Invariant{},
|
||||
20,
|
||||
20,
|
||||
true,
|
||||
50,
|
||||
100,
|
||||
false,
|
||||
)
|
||||
app.Commit()
|
||||
appHash := app.LastCommitID().Hash
|
||||
appHashList[j] = appHash
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user