fix(sim): set FlagSigverifyTxValue to newApp for TestAppSimulationAfterImport (#18289)

This commit is contained in:
Chenqun Lu 2023-10-30 18:30:53 +08:00 committed by GitHub
parent 661d201d6b
commit 0e94d74866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{