(t *testing.T, newApp *akash.AkashApp, config sdksim.Config)
| 90 | } |
| 91 | |
| 92 | func simulateFromSeedFunc(t *testing.T, newApp *akash.AkashApp, config sdksim.Config) (bool, simulation.Params, error) { |
| 93 | return simulation.SimulateFromSeed( |
| 94 | t, |
| 95 | os.Stdout, |
| 96 | newApp.BaseApp, |
| 97 | simtestutil.AppStateFn(newApp.AppCodec(), newApp.SimulationManager(), akash.NewDefaultGenesisState(newApp.AppCodec())), |
| 98 | sdksim.RandomAccounts, // Replace it with own random account function if using keys other than secp256k1 |
| 99 | simtestutil.BuildSimulationOperations(newApp, newApp.AppCodec(), config, newApp.TxConfig()), |
| 100 | newApp.ModuleAccountAddrs(), |
| 101 | config, |
| 102 | newApp.AppCodec(), |
| 103 | ) |
| 104 | } |
| 105 | |
| 106 | func TestFullAppSimulation(t *testing.T) { |
| 107 | config, db, dir, logger, skip, err := sim.SetupSimulation("leveldb-app-sim", "Simulation") |
no test coverage detected