Remove code duplication

This commit is contained in:
ValarDragon
2018-08-30 00:28:15 -07:00
parent 31ca2e058b
commit 03d2f7331b
3 changed files with 61 additions and 88 deletions
+2 -1
View File
@@ -123,10 +123,11 @@ func BenchmarkFullGaiaSimulation(b *testing.B) {
// Run randomized simulation
// TODO parameterize numbers, save for a later PR
simulation.BenchmarkSimulationFromSeed(
simulation.SimulateFromSeed(
b, app.BaseApp, appStateFn, seed,
testAndRunTxs(app),
[]simulation.RandSetup{},
invariants(app), // these shouldn't get ran
10,
100,
false,