Skip to content

Commit

Permalink
fix(sim): set FlagSigverifyTxValue to newApp for TestAppSimulationAft…
Browse files Browse the repository at this point in the history
…erImport
  • Loading branch information
luchenqun committed Oct 28, 2023
1 parent 7bef022 commit fc14eda
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simapp/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit fc14eda

Please sign in to comment.