Fix TestAppStateDeterminism
This commit is contained in:
@@ -318,7 +318,6 @@ func TestAppStateDeterminism(t *testing.T) {
|
|||||||
appOptions.SetDefault(key, value)
|
appOptions.SetDefault(key, value)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
appOptions.SetDefault(flags.FlagHome, t.TempDir()) // ensure a unique folder
|
|
||||||
appOptions.SetDefault(server.FlagInvCheckPeriod, simcli.FlagPeriodValue)
|
appOptions.SetDefault(server.FlagInvCheckPeriod, simcli.FlagPeriodValue)
|
||||||
|
|
||||||
for i := 0; i < numSeeds; i++ {
|
for i := 0; i < numSeeds; i++ {
|
||||||
@@ -331,6 +330,8 @@ func TestAppStateDeterminism(t *testing.T) {
|
|||||||
logger = log.NewNopLogger()
|
logger = log.NewNopLogger()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
appOptions.SetDefault(flags.FlagHome, t.TempDir()) // ensure a unique folder per run
|
||||||
|
|
||||||
db := dbm.NewMemDB()
|
db := dbm.NewMemDB()
|
||||||
app := NewWasmApp(logger, db, nil, true, appOptions, emptyWasmOpts, interBlockCacheOpt(), baseapp.SetChainID(SimAppChainID))
|
app := NewWasmApp(logger, db, nil, true, appOptions, emptyWasmOpts, interBlockCacheOpt(), baseapp.SetChainID(SimAppChainID))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user