Skip to content

Commit

Permalink
updating testutil and simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
ap0calypse644 committed Jan 24, 2024
1 parent f457887 commit bc667e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/simulation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func BenchmarkSimulation(b *testing.B) {
0,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
baseapp.SetChainID(config.ChainID),
)
require.Equal(b, app.Name, bApp.Name())
Expand Down Expand Up @@ -175,6 +176,7 @@ func TestAppStateDeterminism(t *testing.T) {
simcli.FlagPeriodValue,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
fauxMerkleModeOpt,
baseapp.SetChainID(chainID),
)
Expand Down Expand Up @@ -253,6 +255,7 @@ func TestAppImportExport(t *testing.T) {
0,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
baseapp.SetChainID(config.ChainID),
)
require.Equal(t, app.Name, bApp.Name())
Expand Down Expand Up @@ -314,6 +317,7 @@ func TestAppImportExport(t *testing.T) {
0,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
baseapp.SetChainID(config.ChainID),
)
require.Equal(t, app.Name, bApp.Name())
Expand Down Expand Up @@ -407,6 +411,7 @@ func TestAppSimulationAfterImport(t *testing.T) {
0,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
fauxMerkleModeOpt,
baseapp.SetChainID(config.ChainID),
)
Expand Down Expand Up @@ -474,6 +479,7 @@ func TestAppSimulationAfterImport(t *testing.T) {
0,
app.MakeEncodingConfig(),
appOptions,
app.EmptyWasmOpts,
fauxMerkleModeOpt,
baseapp.SetChainID(config.ChainID),
)
Expand Down Expand Up @@ -515,6 +521,7 @@ func SetupTestingApp() (ibctesting.TestingApp, map[string]json.RawMessage) {
5,
encCdc,
simtestutil.EmptyAppOptions{},
app.EmptyWasmOpts,
)
return fapp, app.NewDefaultGenesisState(encCdc.Marshaler)
}
1 change: 1 addition & 0 deletions testutil/network/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func DefaultConfig() network.Config {
0,
encoding,
simtestutil.EmptyAppOptions{},
app.EmptyWasmOpts,
baseapp.SetPruning(pruningtypes.NewPruningOptionsFromString(val.GetAppConfig().Pruning)),
baseapp.SetMinGasPrices(val.GetAppConfig().MinGasPrices),
baseapp.SetChainID(chainID),
Expand Down

0 comments on commit bc667e7

Please sign in to comment.