From 137cb2680af7cf59ab25f5d574e2e557fffbbc60 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Thu, 15 Feb 2024 15:36:08 +0100 Subject: [PATCH] Fix TestAppImportExport --- app/sim_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/sim_test.go b/app/sim_test.go index f2a712cd..c4e1cebd 100644 --- a/app/sim_test.go +++ b/app/sim_test.go @@ -123,6 +123,8 @@ func TestAppImportExport(t *testing.T) { require.NoError(t, os.RemoveAll(newDir)) }() + appOptions[flags.FlagHome] = t.TempDir() // ensure a unique folder for the new app + newApp := NewWasmApp(log.NewNopLogger(), newDB, nil, true, appOptions, emptyWasmOpts, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) require.Equal(t, "WasmApp", newApp.Name())