From 0e94d7486658e767cdcc38bf345efb07bb4f4323 Mon Sep 17 00:00:00 2001 From: Chenqun Lu Date: Mon, 30 Oct 2023 18:30:53 +0800 Subject: [PATCH] fix(sim): set FlagSigverifyTxValue to newApp for TestAppSimulationAfterImport (#18289) --- simapp/sim_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/simapp/sim_test.go b/simapp/sim_test.go index f577dd0d0c..1299836bc7 100644 --- a/simapp/sim_test.go +++ b/simapp/sim_test.go @@ -294,6 +294,9 @@ func TestAppSimulationAfterImport(t *testing.T) { }() newApp := NewSimApp(log.NewNopLogger(), newDB, nil, true, appOptions, fauxMerkleModeOpt, baseapp.SetChainID(SimAppChainID)) + if !simcli.FlagSigverifyTxValue { + newApp.SetNotSigverifyTx() + } require.Equal(t, "SimApp", newApp.Name()) _, err = newApp.InitChain(&abci.RequestInitChain{