mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
feat: reduce determinism sim runs
This commit is contained in:
parent
4cde3ba577
commit
162a47343d
@ -662,12 +662,12 @@ func TestAppStateDeterminism(t *testing.T) {
|
||||
config.OnOperation = false
|
||||
config.AllInvariants = false
|
||||
|
||||
numSeeds := 3
|
||||
numTimesToRunPerSeed := 5
|
||||
numSeeds := 1
|
||||
numTimesToRunPerSeed := 2
|
||||
appHashList := make([]json.RawMessage, numTimesToRunPerSeed)
|
||||
|
||||
for i := 0; i < numSeeds; i++ {
|
||||
config.Seed = rand.Int63()
|
||||
config.Seed = 8674665223082153551
|
||||
|
||||
for j := 0; j < numTimesToRunPerSeed; j++ {
|
||||
logger := log.NewNopLogger()
|
||||
|
Loading…
Reference in New Issue
Block a user